[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Path for system-wide .eln files
From: |
tomas |
Subject: |
Re: Path for system-wide .eln files |
Date: |
Tue, 1 Sep 2020 10:46:24 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Sep 01, 2020 at 09:16:48AM +0200, Ulrich Mueller wrote:
> >>>>> On Tue, 01 Sep 2020, Yuri Khan wrote:
>
> >> > AFAIU `/usr/libexec` would be for binaries in general, infact we store
> >> > there the pdumper img. Okay for `/usr/lib`.
> >>
> >> It should be ${libdir} I think? That is, "lib64" on 64-bit systems.
>
> > I am on a 64-bit system and my /usr/lib64 is empty except for a single
> > ld-linux-x86-64.so.2 symlink. On the other hand, /usr/lib32 contains a
> > number of shared objects belonging to the libc6-i386 package. This
> > tells me maybe native bitness belongs in /usr/lib.
>
> I should have been more precise. It is in fact distro specific, so there
> may be 64-bit systems where the native libs are installed in /usr/lib
> (and 32-bit libs would go to /usr/lib32), while others install the
> native libs in /usr/lib64.
Yes. Those are the ad-hoc "solutions" you find "in the wild". And
then there is Debian multiarch [1], which is the "right" solution
(roughly: /lib and /usr/lib contain the "native" stuff, for
backward-compatibility; "foreign" stuff lives in
{/lib,/usr/lib}/<arch-triplet>, e.g. /usr/lib/i386-linux-gnu. [2]
After all, there's no reason not to want to have Arm binaries in
an x86_64 machine (there's qemu, after all).
> So the right thing to do is to use configure's ${libdir}.
Exactly. Looking at one's distro and generalizing is going to bite
someone. And then they'll be angry at us :)
So use the configury, and fix that should it be broken.
Cheers
[1] https://wiki.debian.org/Multiarch/TheCaseForMultiarch
[2] I said roughly. It's not (alas!) the well-known GNU triplet,
but something similar, for Reasons [3]
[3] https://wiki.debian.org/Multiarch/Tuples
- t
signature.asc
Description: Digital signature
- Re: Path for system-wide .eln files, Yuri Khan, 2020/09/01
- Re: Path for system-wide .eln files, Ulrich Mueller, 2020/09/01
- Re: Path for system-wide .eln files,
tomas <=
- Re: Path for system-wide .eln files, Andrea Corallo, 2020/09/04
- Re: Path for system-wide .eln files, Ulrich Mueller, 2020/09/04
- Re: Path for system-wide .eln files, Andrea Corallo, 2020/09/04
- Re: Path for system-wide .eln files, Ulrich Mueller, 2020/09/04
- Re: Path for system-wide .eln files, Stefan Monnier, 2020/09/04
- Re: Path for system-wide .eln files, Ulrich Mueller, 2020/09/04
- Re: Path for system-wide .eln files, Stefan Monnier, 2020/09/04
- Re: Path for system-wide .eln files, Ulrich Mueller, 2020/09/05
- Re: Path for system-wide .eln files, Andrea Corallo, 2020/09/06
- Re: Path for system-wide .eln files, Alfred M. Szmidt, 2020/09/05