« Return to Thread: specifying libraries on the link line, was "incorrect library names embedded on hp-ux ia64"

Re: specifying libraries on the link line, was "incorrect library names embedded on hp-ux ia64"

by Jim Gallagher :: Rate this Message:

Reply to Author | View in Thread

One additional data point: Linux embeds the path in the shared library
the same way as hp-ux does.

I stood up an Ubuntu 8.10 VM to test this. I did not get any errors at
link time, but the libraries whose names included path elements could
not be loaded at runtime, regardless of how I set LD_LIBRARY_PATH.

I am not familiar with the library tools on Linux, but I used xxd to
verify that the path supplied for dependent libraries on the link line
was embedded in the resultant library.

Jim
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

 « Return to Thread: specifying libraries on the link line, was "incorrect library names embedded on hp-ux ia64"