From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-06-03 05:34:29
On Tuesday 03 June 2008 13:19:54 Steinlein,Volker (EBV) wrote:
> 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:
> ldd libboost_filesystem-mt-d-1_35.so
> 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:
> [/home/steinlv/my_boost_dir/lib]:ldd libboost_filesystem-mt-d-1_35.so
> eading-multi/libboost_system-mt-d-1_35.so.1.35.0 =>
What is the soname encoded in
? (On Linux, readelf -d will tell that, no idea about AIX).
What is the linker option to specify soname, on AIX?
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk