[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gpsd-dev
Subject:    Re: [gpsd-dev] RPATH tangle
From:       Bernd Zeimetz <bernd () bzed ! de>
Date:       2014-02-09 22:09:27
Message-ID: 52F7FC97.20703 () bzed ! de
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 12/03/2013 02:42 AM, Gary E. Miller wrote:
> Yo Greg!
> 
> On Mon, 02 Dec 2013 20:39:02 -0500 Greg Troxel <gdt@ir.bbn.com> wrote:
> 
>> It should be noted that this is a Debian-specific objection.  In 
>> particular, they reject the notion that when changing a library soname 
>> everything that depends on that library must be rebuilt.  pkgsrc takes a
>> different approach and requires a rebuild.  Thus, it avoids he complexity
>> of the games Debian plays to work around linking with two versions.
> 
> Ditto for gentoo.  When the soname is changed the old one is kept until all
> users have evetually been recompiled.

That is and afaik was the same in Debian for a long time, even before 2004.
Changing a library soname has nothing to do with rpaths - the rpath points to
the directory where the library is, not to a specific soname.

You might want to read the wiki page again about the problem of NEEDED
dependencies in libraries. You are facing the same issue in pkgsource and
gentoo. Still not the problem, the problem is that if you move one of the
libraries, and an rpath points to it, the linker might find the wrong one.
If you always keep libraries in /usr/lib, this will not make problems at all.
But there are things like multiarch, which made library locations move a lot.
So the only useful option is to avoid rpaths and let ld.so handle it.

Please try to understand things properly before trying to tell people that
Debian does not rebuild things when a soname changes.

- -- 
 Bernd Zeimetz                            Debian GNU/Linux Developer
 http://bzed.de                                http://www.debian.org
 GPG Fingerprint: ECA1 E3F2 8E11 2432 D485  DD95 EB36 171A 6FF9 435F
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBCAAGBQJS9/yKAAoJEOs2Fxpv+UNfrmIP/RBJEgz/pbZ+6Cx7aWP5os+1
6oSI/EAXEOh5BDXjgqGSNTKZ7KPda2u7SNiiYAIR0lMmKMRTaKqsWNAztm/xaEd3
fag/ObEVImPN7e/0oS12MvJd0lUvoOhFjFtR/asq1wv0KjRILMfh2BHYN+gBAKtj
5Hhp4gAqxsm9rCCRT3fXNKbNXsq2rnERrNbRZ2Uekt5I2VuvrErRaJiXzkwFyYQE
6BaX/TirI1tSsfFExZ79l+U8O8+aiLgMjoXa4LgUqTbxJipbeX0nf97CqYn1Sh4W
ANzO4veOcrtQnN+eKfO1s34ux2ap8STUNP3ecywyOh0VqQKX3XZHNS0vxhKTsUxs
WKx//u5Q1chBhrlVKYutY15R2IfRUDWuvkqzaBUKT8rX/bj0HimI64TW8y/QHH3B
FZ3FFbnN0/A41YD93pEh000ULtOHXXjr664PtyTcGA6mp4PRbhtZ9Q8vGYmg3TAH
050OFhMKAS7jXGaVrYt8HXZqm+aa4qiCCZ2WHw9C0sEeewsZnhU9KbPZnMZIibAl
PczSzWroCHJpKkuyD26uXzzF4yOEopuPjRj5ZBz8fwO0eVq0w14ZZtPH22WwCe1p
NGRQKrLPlrFRqcIgEs5LHClQ+p8e6/Ggjnfz5jRsU9oOjT/nytB52QTYopvnQ6RP
/pGVCHnuJm3+enThusIp
=W5ll
-----END PGP SIGNATURE-----

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic