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

Re: mkinitrd linking issue.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris Wakefield wrote:
|
| using:  /usr/sbin/mkinitrd -o initrd.img-2.6.10-rc3 2.6.10-rc3
| I'm now getting:
| /bin/bash: error while loading shared libraries: libdl.so.2: cannot open
| shared object file: No such file or directory
|

Sorry, but I cannot reproduce this (using
amd64 (gcc-3.4)). There are no platform
dependent binaries in initrd-tools, so the
problem must be in the environment.

But mkinitrd uses ldd to get a list of
libraries to add to the initrd.img.

Do you have some environment variables set
affecting shared library handling (e.g.
LD_PRELOAD, LD_LIBRARY_PATH, LD_RUNPATH)?

Maybe you could run

	bash -x /usr/sbin/mkinitrd ...

to see what goes wrong in mkinitrd?


Regards

Harri
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBylrvUTlbRTxpHjcRAiYhAJ9YRGjrNkBBdNQbTvkhYgEnzoy1NQCgjEdj
opGaYeWfa1eQUPcG53oUOsk=
=O25G
-----END PGP SIGNATURE-----



Reply to: