On May 30, 2013 8:03 PM, "Gary V. Vaughan" <g...@gnu.org> wrote:
>
> Hi Bob,
>
> On 31 May 2013, at 09:57, "Gary V. Vaughan" <g...@gnu.org> wrote:
> > On 31 May 2013, at 08:28, Bob Rossi <b...@brasko.net> wrote:
> >> On Fri, May 24, 2013 at 07:15:50PM -0400, Bob Rossi wrote:
> >>> I'm building a program that links against boost with libtool.
> >>>
> >>> The boost library is installed on the system and is a shared library.
> >>>
> >>> When i run my program ./test_suite I get,
> >>> $ ./test_suite
> >>> .../build/.libs/lt-test_suite: error while loading shared libraries:
libboost_filesystem.so.1.53.0: cannot open shared object file: No such file
or directory
>
> Didn't notice this on first blush, sorry.  It seems you are getting a
libtool
> link invocation out of Automake after all, so you can probably ignore
most of
> my earlier reply.
>
> This error seems to indicate that the ./test_suite wrapper script is not
> setting LD_LIBRARY_PATH correctly.  Take a look inside that script to see
what
> is going on, and get some clues of what went wrong with the link.

Or do "./libtool --mode=run your command line" to have libtool set the
appropriate paths for you.

Dan
_______________________________________________
https://lists.gnu.org/mailman/listinfo/libtool

Reply via email to