>> But   when  I  try   to  use   them  by   linking  against
>> libodeiv2.so, I get "error while loading shared libraries:
>> libodeiv2.so.0  cannot open  share object  file :  No such
>> file or directory". But this file manifestly is there!

>Can  you post  the  exact  commands you  use  to build  your
>program?  Also, which platform are you using?

Sorry! I am using Ubuntu 9.1

I have built two versions of the library: debug and release. Commands as 
follows:

1) ./configure CFLAGS='-g' --libdir=/usr/local/lib-dbg (to build the debug 
version of the library without the -O2 option, which messes-up debugging + 
install it in /user/local/lib-dbg)

2) make

3) make install (correctly installs in /user/local/lib-dbg/)


and for the release version:


1) ./configure CFLAGS='-O2' (to build the release version of the library with 
the -O2 option)

2) make

3) make install (correctly installs in /user/local/lib/)


I never did anything other than this for GSL and that just worked.


Peter





_______________________________________________
Help-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gsl

Reply via email to