Podivny problem s dyn. knihovnami

Miroslav Prýmek m.prymek at gmail.com
Wed Oct 29 16:01:06 CET 2014


Ahoj,

upgradoval jsem ted jeden jail z 9.1 na 10.0 pomoci ezjail-update a doslo
tam k chovani, ktery si neumim vysvetlit:

[v jailu]# /usr/sbin/pkg
Shared object "libssl.so.6" not found, required by "pkg"

[v jailu]# ldd /usr/sbin/pkg
/usr/sbin/pkg:
     libarchive.so.6 => /usr/lib/libarchive.so.6 (0x800822000)
     libelf.so.1 => /usr/lib/libelf.so.1 (0x800ab7000)
     libfetch.so.6 => /usr/lib/libfetch.so.6 (0x800ccc000)
     libyaml.so.1 => /usr/lib/private/libyaml.so.1 (0x800edd000)
     libsbuf.so.6 => /lib/libsbuf.so.6 (0x8010fa000)
     libssl.so.7 => /usr/lib/libssl.so.7 (0x8012fc000)
     libcrypto.so.7 => /lib/libcrypto.so.7 (0x801566000)
     libc.so.7 => /lib/libc.so.7 (0x801951000)
     libz.so.6 => /lib/libz.so.6 (0x801cea000)
     libbz2.so.4 => /usr/lib/libbz2.so.4 (0x801eff000)
     liblzma.so.5 => /usr/lib/liblzma.so.5 (0x802110000)
     libbsdxml.so.4 => /lib/libbsdxml.so.4 (0x802333000)

A pritom:
[v jailu]# md5 /basejail/usr/sbin/pkg
MD5 (/basejail/usr/sbin/pkg) = 664f450519e8a2c17575700864da0d0c

[v jailu]# md5 /usr/sbin/pkg
MD5 (/usr/sbin/pkg) = 664f450519e8a2c17575700864da0d0c

- tohle je spravna binarka pro 10.0, ktera je linkovana proti 
libssl.so.7, ktery v systemu je:

[v jailu]# ls -l /usr/lib/libssl*
-r--r--r--  1 root  wheel  688786 Oct 22 18:09 /usr/lib/libssl.a
lrwxr-xr-x  1 root  wheel      11 Oct 29 16:09 /usr/lib/libssl.so -> 
libssl.so.7
-r--r--r--  1 root  wheel  434704 Oct 29 16:09 /usr/lib/libssl.so.7
-r--r--r--  1 root  wheel  716810 Oct 22 18:09 /usr/lib/libssl_p.a

Muzete mi nekdo vysvetlit, jak k necemu takovymu muze dojit?

dik

Mirek



More information about the Users-l mailing list