From: Tom Browder <tbrowde@asi-fwb.com>
Subject: Cure of ld update problem
Date: Thu, 14 Aug 1997 07:44:59 -0500 (CDT) [thread overview]
Message-ID: <41a3334cf62d712501a0f9bdf4d5a55e.axp-list@archive.invalid> (raw)
I installed the new library rpms from the alphabits directory at
RedHat, and got locked out of my system. Upon your advice,
I tried the following commands (in single user mode):
cd /lib
ls -lR
objdump --private-headers * | egrep '(file format)|NEEDED'
I did those commands inside a 'script' shell which gave me
a record of all activity. The commands give a listing
of all libraries installed, and show dependencies among libraries.
After close study, I found one dependency lacking:
libnsl.so.1 (missing) NEEDED by:
libpwd.so
libpwd.so.0
libpwd.so.0.54
But the only thing available was: libnsl-2.0.3.so (which was
linked to: libnsl.so.1.1).
Not knowing anything about those libraries, I assumed
from the names that they have something to do with
passwords, so I linked libnsl-2.0.3.so to libnsl.so.1,
execured 'ldconfig', said a small prayer, and
logged out of single-user mode.
Lo and behold, the system recovered and everything
appears back to normal.
Then, when trying standard utility commands such as 'top',
I received an error message saying 'libbfd.so.2.7.0.2'
wasn't available, so I linked '/usr/lib/libbfd.so.2.7.0.16'to
the required vesion--and everything now seems to work OK.
Next I investigated the previous large program link
problem which you think may be solved by the updated
libraries. Uppon starting my build process, no folding
LITERAL problems were noted; however, now the problem appears to
be an incompatibility with X11 and libc.so.6 resulting in
a series of warnings such as:
gcc -O2 -o rfbd rfbd.o -L''../libfb -lfb -L''../libpkg -lpkg
-L''/usr/X11/lib -lX11 -L''../libsysv -lsysv -lm
/usr/alpha-linux/bin/ld: warning: libc.so.6, needed by
/usr/X11/lib/libX11.so, may conflict with libc.so.6.1
/lib/libc.so.6: warning: sigstack is not implemented and will always
fail
/lib/libc.so.6: warning: sigaltstack is not implemented and will always
fail
/lib/libc.so.6: warning: `siggetmask' is obsolete; `sigprocmask' is best
/lib/libc.so.6: the `gets' function is dangerous and should not be used.
/lib/libc.so.6: warning: fexecve is not implemented and will always fail
/lib/libc.so.6: warning: setlogin is not implemented and will always
fail
/lib/libc.so.6: the `getwd' function is dangerous and should not be
used.
/lib/libc.so.6: warning: lchown is not implemented and will always fail
/lib/libc.so.6: warning: sstk is not implemented and will always fail
/lib/libc.so.6: warning: revoke is not implemented and will always fail
/lib/libc.so.6: warning: gtty is not implemented and will always fail
/lib/libc.so.6: warning: stty is not implemented and will always fail
/lib/libc.so.6: warning: chflags is not implemented and will always fail
/lib/libc.so.6: warning: fchflags is not implemented and will always
fail
/lib/libc.so.6: warning: madvise is not implemented and will always fail
These warnings are apparent show stoppers since many files wouldn't
complete the compile/link cycle. Suggestions on how to proceed would,
as usual, be greatly appreciated.
Tom Browder
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
reply other threads:[~1997-08-14 12:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox