[CLUE-Tech] libbz.so not found?!
Matt Gushee
mgushee at havenrock.com
Mon Dec 16 16:08:42 MST 2002
I discovered something odd while trying to find something in an old
e-mail:
bash-2.05a$ bzcat Inbox.2001.bz2 |grep xxxxxx
bzcat: error while loading shared libraries: libbz.so: cannot open
shared object file: No such file or directory
Huh? But bzip2 and bunzip2, all from the same Debian package, work fine
(at least they did last night). And:
bash-2.05a$ ldd /usr/bin/bzcat
libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x4001d000)
libc.so.6 => /lib/libc.so.6 (0x4002d000)
lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
bash-2.05a$ ldd /usr/bin/bunzip2
libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x4001d000)
libc.so.6 => /lib/libc.so.6 (0x4002d000)
lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
This would appear to be a goof on the part of the package maintainer.
But if bzcat needs libbz.so, why doesn't ldd show it?
More to the point, if Debian doesn't have a bug fix available, is there
anything I can do about this? I tried
$ su
# cd /usr/lib
# ln -s libbz2.so.1.0.2 libbz.so
So now I get
bash-2.05a$ bzcat Inbox.2001.bz2 |grep xxxxxx
bzcat: error while loading shared libraries: libast.so: cannot open
shared object file: No such file or directory
Somp'n's purty scrawed up here.
--
Matt Gushee When a nation follows the Way,
Englewood, Colorado, USA Horses bear manure through
mgushee at havenrock.com its fields;
http://www.havenrock.com/ When a nation ignores the Way,
Horses bear soldiers through
its streets.
--Lao Tzu (Peter Merel, trans.)
More information about the clue-tech
mailing list