amd64/163005: net-snmp-5.7.1: /usr/local/lib/libnetsnmpmibs.so.30 misses libperl.so

William Elasio Moreno Albarracin wmoreno3 at yahoo.com
Fri Dec 2 01:00:21 UTC 2011


>Number:         163005
>Category:       amd64
>Synopsis:       net-snmp-5.7.1: /usr/local/lib/libnetsnmpmibs.so.30 misses libperl.so
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 02 01:00:20 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     William Elasio Moreno Albarracin
>Release:        FreeBSD 8.2-RELEASE-p3
>Organization:
Familia Moreno Vergel
>Environment:
FreeBSD mydomain.com.co 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 18:45:57 UTC 2011     root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
asterisk18-1.8.7.1, perl-5.14.1_3, net-snmp-5.7.1.
pkg_libchk: "net-snmp-5.7.1: /usr/local/lib/libnetsnmpmibs.so.30 misses libperl.so"

/var/log/asterisk/messages: "loader.c: Error loading module 'res_snmp.so': Shared object "libperl.so" not found, required by "libnetsnmpmibs.so.30"

ldd /usr/local/lib/libnetsnmpmibs.so.30
/usr/local/lib/libnetsnmpmibs.so.30:
        libnetsnmpagent.so.30 => /usr/local/lib/libnetsnmpagent.so.30 (0x800889000)
        libwrap.so.6 => /usr/lib/libwrap.so.6 (0x800e2a000)
        libperl.so => not found (0x0)...
My temporary solution: 
ln -s /usr/local/lib/perl5/5.14.1/mach/CORE/libperl.so /usr/local/lib/

test:
ldd /usr/local/lib/libnetsnmpmibs.so.30
/usr/local/lib/libnetsnmpmibs.so.30:
        libnetsnmpagent.so.30 => /usr/local/lib/libnetsnmpagent.so.30 (0x800889000)
        libwrap.so.6 => /usr/lib/libwrap.so.6 (0x800e2a000)
        libperl.so => /usr/local/lib/libperl.so (0x800f33000)...


>How-To-Repeat:
rm /usr/local/lib/libperl.so
>Fix:
I search some temporary solutions:
"cp /usr/local/lib/perl5/5.14.1/mach/CORE/libperl.so /usr/local/lib"
"ln -s /usr/local/lib/perl5/5.14.1/mach/CORE/libperl.so /usr/local/lib/"
"ldconfig -m /usr/local/lib/perl5/5.14.1/mach/CORE"



>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-amd64 mailing list