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

Re: Compatibility between Debian amd64 and other distributions

On Sat, Sep 23, 2006 at 02:50:35AM +0200, Goswin von Brederlow wrote:
> But running Debian binaries on other distributions remains a
> problem. For example static binaries that use libnss* plugins will
> fail to find those plugins on other systems. Copying the debian libc6
> to your ~/lib/ dir on another distribution will break locale plugins.

Do you have any less contrived examples?  FWIW, I think in either of
these cases you deserve to keep both pieces.

> The fix is really simple. Compile glibc with libc_[s]libdir =
> [/usr]/lib64 but move [/usr]/lib64 to [/usr]/lib and add the
> compatibility links after the build. That results in libc6 using the
> FHS paths [/usr]/lib64 when looking for plugins, which means following
> the [/usr]/lib64 link on Debian, just like every other distributions
> glibc does on amd64. Nothing else changes.

I'm perfectly happy to do this.  After etch.

Daniel Jacobowitz

Reply to: