Boost logo

Boost-Build :

From: Steinlein,Volker (EBV) (Volker.Steinlein_at_[hidden])
Date: 2008-06-03 05:19:54


I am sorry, but I have a serious problem with absolute library paths
within depending BOOST libraries while creating an install package.

I want to build the boost libraries under HPUX 11.23 using the compiler
version 'B3910B A.06.17'. The libraries shall be 64 Bit libraries

The intention is to get as result a directory where all boost libraries
are stored (for example '/home/steinlv/my_boost_dir/lib') because I
have root access to the machine.

The libraries within this directory must references the dependend boost
libraries in a relative way. This is what I need if I call ldd for
which is linked against the libboost_system:


I tried to build the library using the following command line:

> MY_BOOST_DIR='/home/steinlv/my_boost_dir'
> $BOOST_ROOT/tools/jam/src/bin.hpux*/bjam --build-dir=$MY_BOOST_DIR
--dll-path=$MY_BOOST_DIR --prefix=$MY_BOOST_DIR
--toolset=acc threading=multi cflags=+DD64 cxxflags=+DD64
-sNO_ZLIB=1 -sNO_COMPRESSION=1 -sNO_BZIP2=1 release debug install

After the successfull completion of the build && install process all
are stored within '/home/steinlv/my_boost_dir/lib' which is exactly what
I wanted.
Nevertheless the result of the ldd call were always absolute paths:

eading-multi/ =>

Does anyone know what parameters I have to pass to bjam to avoid these
absolute paths? I tought the 'install' option would suppress this kind
of links.

Thanks for your help!

Best regards

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at