Re: ld.so for multiarch and multilib installed at same time

Ben Hutchings <[email protected]>
Newsgroups gmane.linux.debian.ports.mips,gmane.linux.debian.devel.general
Message-ID <[email protected]>
On Fri, 2014-04-25 at 16:39 +0800, Yunqiang Su wrote:
[...]
> On mips64el system:
> 
> libc6-mips32 make /lib/ld.so.1 link to /lib/ld-2.18.so
>          (yes, quite strange, mips system asks for use /lib as o32
> multilib path)
> 
> libc6:mipsel make /lib/ld.so.1 link to /lib/mipsel-linux-gnu/ld-2.18.so
> 
> When try to install these 2 packages both, dpkg will be unhappy:
> 
> dpkg: error processing archive libc6_2.18-4_mipsel.deb (--install):
>  trying to overwrite '/lib/ld.so.1', which is also in package
> libc6-mips32 2.18-4
> Errors were encountered while processing:
[...]
> Is it a problem of dpkg or eglibc?

Current biarch packages like libc6-i386 do *not* install a symlink for
ld.so so there is no conflict.

However, the maintainer scripts for the various x86 libc packages are
doing a lot of conditional changes to symlinks and directories to make
coinstallation and upgrades work properly.  You should ask the glibc
maintainers <[email protected]> how this works for x86 and
how it could translate to mips.

Ben.

-- 
Ben Hutchings
Beware of programmers who carry screwdrivers. - Leonard Brandwein
signature.asc (application/pgp-signature, 811 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUAU1p/H+e/yOyVhhEJAQqn3g//UoY512kZCMrqm6ZSmTLyEebEZQsktfIw
5Gr4+jxxyDzLWHxuvm7wPEnUPIG+aTElx97jGJ5zg0Fw8y4U0VYx52sDQ1BpsoOK
QK/W8TjxSvduiLvaX2VoeyOsFcb2jGciuaRNnhhpRNFq38Yn4cCUniITuEwb3KK0
3CZhhGEAL3E0Df81JU3tU9rSTzWlXyrMeQWC9JyEd4N7y0jXDNrsFxTA0CaoEv3o
K2S5lqYb29f0OZRdNHXqMfahc12KtR/0wuUYgr1fe1UGH02X7ntQYgRnPXXpigDh
FkjxnuIhQLjDGwlrsor+VWniDTpP0N/40rClHcFLxde9SB8u8M7RZq7L773rdlHx
eywoGZoaYXNAeE/H7hDEGfDrQ/CIJtQIWQnv0H7NRqC7c0Q4sp2TF4NcNNrGSqi5
BEn3GyLCqjrag6NKfDy+5JReSwadolg4PFqL8aFVpaMHcPBTTf9rfj5nPK/tBgWZ
FkpymvhmaRN5lU3oeKZ4XYEzpGXX97NFcp9gY/b3UI0LC310L33dsXpD/2t/649o
//a9OXnbhukB2e2FiPfMr0W6EiIieK1OqLevDvhIlcyf4I6MF+aMV7ebhlLlaZVh
vfvZizmAr4CfbgrKLMoBPIklXyOxa2mQwFi6266vj5Wm/3D8FDEZzQ3xqX9yENLO
X4tST9gchcE=
=bpFs
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.