
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.

On Apr 27, 2006, at 9:59 AM, george wrote:
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.....
export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH That'll allow the dynamic linker to find the files in the current directory. Doug
participants (2)
-
Douglas Gregor
-
george