From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-09-01 23:57:25
> Hi Volodya,
> many thanks for your help!
> I have one more question regarding the -rpath option:
> In a Jam project tree, I have:
> -a shared library
> -an application using this lib.
> Compiling and linking works, but -rpath is not added to the linker's
> command line, so I have to set LD_LIBRARY_PATH to point to the shared
> I tried to specify:
> bjam hardcode-dll-paths=true
> But this didn't help. What do I have to do, in order to link the
> library to the application with -rpath enabled?
Strange. Take a look at
If I build that project with "bjam -d2 hardcode-dll-paths=true" I see -rpath
options and the created exe correctly finds the library, no matter where I
move the exe.
Do you have some different setup? Probably, you could send a simple example
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