Boost logo

Boost-Build :

Subject: Re: [Boost-build] Option to turn off rpath?
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-09-07 07:23:08

On Tuesday 07 September 2010 09:54:29 Steve M. Robbins wrote:

> Hi,
> Sometime between 1.42 and 1.44, boost started building shared libs
> using -rpath. (I'm a little behind ... just packaging 1.44 for Debian
> now).
> So the first problem is that the default rpath is /usr/bin, which is
> wrong. The unix convention is to separate binaries and libraries.
> The libraries are in /usr/lib, so that's what I'd expect for the
> search path.
> The second problem is that rpath is not appropriate for everyone.
> Debian, for example (, strongly
> discourages its use. So I patched Debian packages to not use rpath.
> Could this be turned into a bjam option?

Could you please provide more details? In particular, what command line
results in what libraries having rpath? Default behaviour of Boost.Build
is to include rpath for in-tree builds and not include rpath when installing,
where both 'stage' and 'install' targets of Boost's Jamroot count as


Vladimir Prus

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