net-snmp port problem libnetsnmphelpers.so.20
Milan Cizek
cizek.milan at seznam.cz
Mon Nov 29 02:09:06 CET 2010
Ahoj,
překompiloval jsem všechny porty portupgrade -rf perl, ale nic to
nevyřešilo.
# readelf -Wd /usr/local/lib/libnetsnmpmibs.so.20 | grep RPATH
0x0000000f (RPATH) Library rpath: [/usr/local/lib]
# readelf -dW /usr/local/lib/libnetsnmpagent.so.20 | grep RPATH
0x0000000f (RPATH) Library rpath:
[/usr/local/lib:/usr/local/lib/perl5/5.8.9/mach/CORE]
> Takze ted jeste ukaz
> readelf -Wd /usr/local/lib/snmpd | grep RPATH
readelf: Error: '/usr/local/lib/snmpd': No such file
# readelf -Wd /usr/local/sbin/snmpd | grep RPATH
0x0000000f (RPATH) Library rpath:
[/usr/local/lib/perl5/5.8.9/mach/CORE:/usr/local/lib]
> a pripadne pripoj
>
> ldd -a /usr/local/lib/snmpd
> (to jsem chtel uz minule, jen mi tam ulitlo navic 'v')
# ldd -a /usr/local/sbin/snmpd
/usr/local/sbin/snmpd:
libnetsnmpagent.so.20 => /usr/local/lib/libnetsnmpagent.so.20
(0x2807f000)
libnetsnmphelpers.so.20 => /usr/local/lib/libnetsnmphelpers.so.20
(0x280c7000)
libnetsnmpmibs.so.20 => /usr/local/lib/libnetsnmpmibs.so.20
(0x280e9000)
libwrap.so.4 => /usr/lib/libwrap.so.4 (0x281ea000)
libperl.so => /usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so
(0x281f1000)
libcrypt.so.3 => /lib/libcrypt.so.3 (0x28303000)
libutil.so.5 => /lib/libutil.so.5 (0x2831b000)
libnetsnmp.so.20 => /usr/local/lib/libnetsnmp.so.20 (0x28327000)
libm.so.4 => /lib/libm.so.4 (0x283e2000)
libkvm.so.3 => /lib/libkvm.so.3 (0x283f8000)
libdevstat.so.5 => /lib/libdevstat.so.5 (0x283ff000)
libcrypto.so.4 => /lib/libcrypto.so.4 (0x28404000)
libc.so.6 => /lib/libc.so.6 (0x284f7000)
/usr/local/lib/libnetsnmpagent.so.20:
libnetsnmp.so.20 => /usr/local/lib/libnetsnmp.so.20 (0x28327000)
libcrypto.so.4 => /lib/libcrypto.so.4 (0x28404000)
libwrap.so.4 => /usr/lib/libwrap.so.4 (0x281ea000)
libkvm.so.3 => /lib/libkvm.so.3 (0x283f8000)
libdevstat.so.5 => /lib/libdevstat.so.5 (0x283ff000)
libperl.so => /usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so
(0x281f1000)
libm.so.4 => /lib/libm.so.4 (0x283e2000)
libcrypt.so.3 => /lib/libcrypt.so.3 (0x28303000)
libutil.so.5 => /lib/libutil.so.5 (0x2831b000)
/usr/local/lib/libnetsnmphelpers.so.20:
libnetsnmpagent.so.20 => /usr/local/lib/libnetsnmpagent.so.20
(0x2807f000)
libwrap.so.4 => /usr/lib/libwrap.so.4 (0x281ea000)
libperl.so => not found (0x0)
libcrypt.so.3 => /lib/libcrypt.so.3 (0x28303000)
libutil.so.5 => /lib/libutil.so.5 (0x2831b000)
libnetsnmp.so.20 => /usr/local/lib/libnetsnmp.so.20 (0x28327000)
libcrypto.so.4 => /lib/libcrypto.so.4 (0x28404000)
libm.so.4 => /lib/libm.so.4 (0x283e2000)
libkvm.so.3 => /lib/libkvm.so.3 (0x283f8000)
libdevstat.so.5 => /lib/libdevstat.so.5 (0x283ff000)
/usr/local/lib/libnetsnmpmibs.so.20:
libnetsnmphelpers.so.20 => /usr/local/lib/libnetsnmphelpers.so.20
(0x280c7000)
libnetsnmpagent.so.20 => /usr/local/lib/libnetsnmpagent.so.20
(0x2807f000)
libwrap.so.4 => /usr/lib/libwrap.so.4 (0x281ea000)
libperl.so => not found (0x0)
libcrypt.so.3 => /lib/libcrypt.so.3 (0x28303000)
libutil.so.5 => /lib/libutil.so.5 (0x2831b000)
libnetsnmp.so.20 => /usr/local/lib/libnetsnmp.so.20 (0x28327000)
libcrypto.so.4 => /lib/libcrypto.so.4 (0x28404000)
libm.so.4 => /lib/libm.so.4 (0x283e2000)
libkvm.so.3 => /lib/libkvm.so.3 (0x283f8000)
libdevstat.so.5 => /lib/libdevstat.so.5 (0x283ff000)
/usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so:
libm.so.4 => /lib/libm.so.4 (0x283e2000)
libcrypt.so.3 => /lib/libcrypt.so.3 (0x28303000)
libutil.so.5 => /lib/libutil.so.5 (0x2831b000)
/usr/local/lib/libnetsnmp.so.20:
libm.so.4 => /lib/libm.so.4 (0x283e2000)
libkvm.so.3 => /lib/libkvm.so.3 (0x283f8000)
libdevstat.so.5 => /lib/libdevstat.so.5 (0x283ff000)
libcrypto.so.4 => /lib/libcrypto.so.4 (0x28404000)
/lib/libdevstat.so.5:
libkvm.so.3 => /lib/libkvm.so.3 (0x283f8000)
> net-snmp se evidentne nepreklada dobre - az na to, ze u tebe jeste o
> neco hur, nez je obvykle a tim ses uz dostal za hranici, kde to
> nefunguje.
Je to problém portu nebo něčeho jiného?
> Jako workaround ti nejspis bude fungovat, kdyz adresar s libperl.so
> pridas do ldconfigove cesty.
Asi mi nic jiného nezbude. :-)
Milan
More information about the Users-l
mailing list