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

Re: Notes about boot-floppies, slang, and newt



Eduard Bloch <edi@gmx.de> cum veritate scripsit:

> > Now, I am going to make modifications to make locales work in modconf
> > again.
> I see a serious problem: ldd does not find any references to
> libslang.so.1, but ld-linux does. Any ideas? In the attached patch are
> changes that I made so far. LC is hard-wired with LANG_CHOOSER.

ldd is not authoritative.
Which binary ?
Are you trying to run it inside chroot ?
There might be other libraries that are pulling in things.

strace would help you

try:

strace binary 2> logfile
grep "open.*lib" logfile

open("/usr/lib/libnewt.so.0.50", O_RDONLY) = 3
open("/lib/libslang.so.1-UTF8", O_RDONLY) = 3
open("/lib/libm.so.6", O_RDONLY)        = 3
open("/lib/libdl.so.2", O_RDONLY)       = 3
open("/lib/libpopt.so.0", O_RDONLY)     = 3
open("/lib/libc.so.6", O_RDONLY)        = 3


If you have the wrong libnewt installed, it might cause that.


-- 
dancer@debian.org : Junichi Uekawa   http://www.netfort.gr.jp/~dancer
GPG Fingerprint : 17D6 120E 4455 1832 9423  7447 3059 BF92 CD37 56F4



Reply to: