Hi,
I'm building Boost 1.41 in HP-UX with gcc and the HP-UX linker, and
I'm getting problems similar to these:
http://old.nabble.com/HPUX-aCC:-Howto-avoid-building-boost-libraries-containing-absolute-library-path-references-when-calling-bjam-install-td17619511.html
Namely, the problem is that the path to the boost system lib is keep
as an absolute in lib filesystem. Removing the explicit dependency of
lib filesystem on lib system solves the problem, but I then have to
add the system lib as an explicit dependency on projects using lib
filesystem (which does not happen in other platforms).
Perhaps the proposed fix should be extended to gcc in HP-UX?
Also, linking project executables with libs that are part of the same
project (even if you install the build) has the executables keep the
static depend paths on the project libs.
So, if I define
exe myexe : myexe.cpp /project//liba ;
I will get myexe depending statically on the path where liba was built
against the root of the project. if the liba project was in
ROOT/libs/liba/bin/(...), I will have myexe statically depend on
ROOT/libs/liba/bin/(...)/liba.so, even if I bjam install .
Any ideas?
Thank you