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 (http://wiki.debian.org/RpathIssue), 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
installing.

Thanks,

--
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build: http://boost.org/boost-build2

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