> configure:8593: g++ -o conftest -pthread -I/usr/lib/../include -pthread
> -I/usr/local/include/boost-1_38 -L/usr/lib -L/usr/local/lib
> conftest.cpp -lz -lrt -lm -lboost_thread-gcc43-mt -pthread >&5
> configure:8596: $? = 0
So linking is successful since the boost thread lib is indeed found
under /usr/local/lib.
> configure:8602: ./conftest
> ./conftest: error while loading shared libraries:
> libboost_thread-gcc43-mt-1_38.so.1.38.0: cannot open shared object file:
> No such file or directory
Now this is the sign that something is wrong at runtime, i.e. as if
/usr/local/lib is not set in the default search path for the runtime linker.
You may check with ldconfig whether this is the case. For testing before
having to modify your system setup, you may try using LD_LIBRARY_PATH
(e.g. export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH) before running
configure and (hopefully) the povray binary.
- NC
Post a reply to this message
|