$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-build] specifying libraries on the link line, was "incorrect library names embedded on hp-ux ia64"
From: Jim Gallagher (jim_at_[hidden])
Date: 2009-06-11 17:06:00
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