POV-Ray : Newsgroups : povray.beta-test : problems linking to boost libraries (linux) : Re: problems linking to boost libraries (linux) Server Time
28 Jul 2024 18:20:39 EDT (-0400)
  Re: problems linking to boost libraries (linux)  
From: Nicolas Calimet
Date: 10 Mar 2009 18:08:03
Message: <49b6e4c3$1@news.povray.org>
> 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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.