Boost logo

Boost Users :

From: george (george13p_at_[hidden])
Date: 2006-04-27 09:59:47


hello!
today I switch to 1.33.1 an I get some problems with dynamic libs:

until 1.33 I just link with the name of the library -lboost_date_time -l
boost_thread

now with 1.33.1 I cant, I get:
/usr/lib/gcc/i586-suse-linux/4.0.2/../../../../i586-suse-linux/bin/ld: cannot
find -lboost_date_time and etc....

autolinking doesn't work

so I link with the whole name
-lboost_date_time-gcc-mt-1_33_1
-lboost_date_time-gcc-1_33_1

and it get compiled but when I try to run it, it can't find the libs(.so)

./server: error while loading shared libraries:
libboost_thread-gcc-mt-1_33_1.so.1.33.1: cannot open shared object file: No such
file or directory

./client: error while loading shared libraries:
libboost_date_time-gcc-1_33_1.so.1.33.1: cannot open shared object file: No such
file or directory

but there are those files in the folder.....

should I run any utility to fix this?

P.S. I build 1.33.1 with:
./configure --prefix=/usr/local
make
make install

thansks for any help.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net