pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lang/python27: (patch) RPATH breaking build with previous installed python27



On Sun, Feb 16, 2014 at 07:54:15PM -0500, Greg Troxel wrote:
> 
> Matthias Ferdinand <mf+ml.pkgsrc-users%netzwerkagentursaarland.de@localhost>
> writes:
> 
> > upgrading python27 from 2.7.3nb3 to 2.7.6nb2 failed on my Linux
> > installations (except for some older than ~6 years).
> >
> > On Linux at least, RPATH has precedence over LD_LIBRARY_PATH. Pkgsrc
> > uses RPATH to direct its binaries to the pkgsrc installed libraries
> > instead of the system libraries.
> 
> RPATH taking precedence over LD_LIBRARY_PATH sounds broken.  Can you
> point to any specfications that say this is reasonable?

Some moron decided that the semantics used e.g. by the BSD should be
avaiable via a different mechanism, so DT_RPATH is broken on Linux and
DT_RUNPATH should be used. Sadly, I have no idea how to instruct ld to
use one or the other.

Joerg


Home | Main Index | Thread Index | Old Index