Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] - Compatibility with Debian
Date: Thu, 11 Aug 2016 09:44:04
In Reply to: [gentoo-dev] - Compatibility with Debian by James Le Cuirot
1 >>>>> On Thu, 11 Aug 2016, James Le Cuirot wrote:
3 > We, like almost everyone else and presumably upstream, install PCRE 8
4 > as Debian, for reasons best known to themselves, install
5 > it as With Ubuntu still being the most widely accepted
6 > "standard" Linux desktop, this presents a problem when dealing with
7 > pre-compiled binaries.
9 Have you asked Debian why they are doing that?
11 > [...]
13 > I have found that creating a symlink in /usr/lib that points
14 > to /lib/ works, except that when you run ldconfig, it
15 > automatically creates another symlink from /usr/lib/ to
16 > If you create the first symlink in /lib instead then the
17 > existing /lib/ holds after running ldconfig. The latter
18 > location is therefore probably preferable.
20 > Would anyone have any issue with adding this to our libpcre package? I
21 > don't foresee any problems. would obviously still point to
22 > I'm pretty sure there will never be another
23 > as upstream have released PCRE2 as libpcre2, effectively an entirely
24 > separate library.
26 This looks like a bad hack. As you said above, it will confuse
27 ldconfig, unless some trickery with /lib vs /usr/lib is used.
29 IMHO providing compatibility symlinks for proprietary binary-only
30 programs isn't the task of the libpcre package. Patch the binary, or
31 have the depending package create the symlink, but not in
32 /usr/lib or /lib, but in a location specific to that package.
34 I remember that long time ago we had a similar issue with motif and
35 icaclient (motif installing .so.4 but icaclient linking to .so.3).
36 See:
38 Ulrich


Subject Author
Re: [gentoo-dev] - Compatibility with Debian James Le Cuirot <chewi@g.o>