Downloaded the trunk ( Today Nov 2 )
Did:
./bjam --with-libraries=graph,regex
./bjam
compiled OK.
mv boost-trunk/stage/lib/* /usr/local/lib
mv boost-trunk/boost /usr/include
my program plc.cpp compiled OK with the following makefile.
g++ -ggdb -O3 plc.cpp -o plc -I./Includes -L/usr/local/lib -lboost_graph -lboost_regex
But running plc gave the following error
./plc < graph.xml > out.xml
./plc: error while loading shared libraries: libboost_graph.so.1.45.0: cannot open shared object file: No such file or directory
But clearly libboost_graph.so.1.45.0 is there.
[george@localhost lib]$ ls -lrt /usr/local/lib
total 6768
-rwxr-xr-x 1 root root 1155683 Nov 2 20:57
libboost_regex.so.1.45.0
-rwxr-xr-x 1 root root 1155683 Nov 2 20:57 libboost_regex.so
-rw-r--r-- 1 root root 2563346 Nov 2 20:57 libboost_regex.a
-rwxr-xr-x 1 root root 534275 Nov 2 20:57 libboost_graph.so.1.45.0
-rwxr-xr-x 1 root root 534275 Nov 2 20:57 libboost_graph.so
-rw-r--r-- 1 root root 923492 Nov 2 20:57 libboost_graph.a
[george@localhost lib]$
Whats wrong?
Running Centos 5.5
[george@localhost Program]$ uname -a
Linux localhost.localdomain 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
Thanks