- 论坛徽章:
- 0
|
本帖最后由 tuzkee 于 2010-12-02 17:29 编辑
执行pkginfo报错:
root@ozone6 # pkginfo
ld.so.1: pkginfo: fatal: relocation error: file /usr/lib/libzonecfg.so.1: symbol xmlNewValidCtxt: referenced symbol not found
但实际去查libzonecfg.so.1这个库是存在的
# ls -l /usr/lib/libzonecfg.so.1
-rwxr-xr-x 1 root bin 201044 Mar 28 2009 /usr/lib/libzonecfg.so.1
查看ldd,发现提示另外几个库找不到
# ldd pkginfo
/usr/lib/extendedFILE.so.1
libpkg.so.1 => /usr/lib/libpkg.so.1
libadm.so.1 => /lib/libadm.so.1
libnsl.so.1 => /lib/libnsl.so.1
libsocket.so.1 => /lib/libsocket.so.1
libelf.so.1 => /lib/libelf.so.1
libwanboot.so.1 => /usr/lib/libwanboot.so.1
libssl.so.0.9.7 => /usr/sfw/lib/libssl.so.0.9.7
libcrypto.so.0.9.7 => /usr/sfw/lib/libcrypto.so.0.9.7
libmd5.so.1 => /lib/libmd5.so.1
libzonecfg.so.1 => /usr/lib/libzonecfg.so.1
libcontract.so.1 => /lib/libcontract.so.1
libc.so.1 => /lib/libc.so.1
libgendb.so.1 => /usr/lib/libgendb.so.1
libmp.so.2 => /lib/libmp.so.2
libmd.so.1 => /lib/libmd.so.1
libscf.so.1 => /lib/libscf.so.1
libnvpair.so.1 => /lib/libnvpair.so.1
libresolv.so.2 => /lib/libresolv.so.2
libdevinfo.so.1 => /lib/libdevinfo.so.1
libdhcputil.so.1 => /lib/libdhcputil.so.1
libinetutil.so.1 => /lib/libinetutil.so.1
libuuid.so.1 => /lib/libuuid.so.1
libsysevent.so.1 => /lib/libsysevent.so.1
libsec.so.1 => /lib/libsec.so.1
libbrand.so.1 => /usr/lib/libbrand.so.1
libpool.so.1 => /usr/lib/libpool.so.1
libproc.so.1 => /lib/libproc.so.1
libuutil.so.1 => /lib/libuutil.so.1
libxml2.so.2 => /usr/local/lib/libxml2.so.2
libxml2.so.2 (SUNW_1.4) => (version not found)
libpkgdb.so.1 => /usr/lib/libpkgdb.so.1
libdoor.so.1 => /lib/libdoor.so.1
libgen.so.1 => /lib/libgen.so.1
libdlpi.so.1 => /lib/libdlpi.so.1
libavl.so.1 => /lib/libavl.so.1
libxml2.so.2 (SUNW_1.3) => (version not found)
libxml2.so.2 (SUNW_1.3) => (version not found)
libexacct.so.1 => /usr/lib/libexacct.so.1
librtld_db.so.1 => /lib/librtld_db.so.1
libctf.so.1 => /lib/libctf.so.1
libm.so.1 => /lib/libm.so.1
libcrypto_extra.so.0.9.7 => (file not found)
libm.so.2 => /lib/libm.so.2
/platform/SUNW,Sun-Fire/lib/libc_psr.so.1
/platform/SUNW,Sun-Fire/lib/libmd_psr.so.1 |
|