Bug 163005 - net-mgmt/net-snmp 5.7.1: /usr/local/lib/libnetsnmpmibs.so.30 misses libperl.so
Summary: net-mgmt/net-snmp 5.7.1: /usr/local/lib/libnetsnmpmibs.so.30 misses libperl.so
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ryan Steinmetz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-02 01:00 UTC by William Elasio Moreno Albarracin
Modified: 2011-12-02 13:10 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description William Elasio Moreno Albarracin 2011-12-02 01:00:20 UTC
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)...

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"
How-To-Repeat: rm /usr/local/lib/libperl.so
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-12-02 02:40:37 UTC
Responsible Changed
From-To: freebsd-amd64->slyvio

Make this a ports PR, fix synopsis, and assign.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2011-12-02 03:07:41 UTC
Responsible Changed
From-To: slyvio->sylvio

Fix assignment.  I don't know why I can't type your name, but I can't.
Comment 3 Ryan Steinmetz freebsd_committer freebsd_triage 2011-12-02 12:23:34 UTC
Responsible Changed
From-To: sylvio->zi

Taking this per PR maintainers request.
Comment 4 Ryan Steinmetz freebsd_committer freebsd_triage 2011-12-02 12:24:32 UTC
Class Changed
From-To: maintainer-update->sw-bug

Fix class
Comment 5 Ryan Steinmetz freebsd_committer freebsd_triage 2011-12-02 12:28:13 UTC
William,

What was executed on your system to cause this issue to surface?  (For
example, did you just upgrade from 7.x->8.x?)

Thanks,
-r

-- 
Ryan Steinmetz
PGP: EF36 D45A 5CA9 28B1 A550  18CD A43C D111 7AD7 FAF2
Comment 6 dfilter service freebsd_committer freebsd_triage 2011-12-02 13:06:34 UTC
zi          2011-12-02 13:06:26 UTC

  FreeBSD ports repository

  Modified files:
    net-mgmt/net-snmp    Makefile 
  Added files:
    net-mgmt/net-snmp/files patch-agent__Makefile.in 
                            patch-ltmain.sh 
  Log:
  - Fix libtool typo in ltmain.sh
  - Fix linking issue with libnetsnmpmibs.so and libperl.so
  - Bump PORTREVISION
  
  PR:             ports/163005
  Submitted by:   William Elasio Moreno Albarracin <wmoreno3@yahoo.com>
  Approved by:    maintainer (implicit)
  Feature safe:   yes
  
  Revision  Changes    Path
  1.196     +1 -0      ports/net-mgmt/net-snmp/Makefile
  1.1       +11 -0     ports/net-mgmt/net-snmp/files/patch-agent__Makefile.in (new)
  1.1       +11 -0     ports/net-mgmt/net-snmp/files/patch-ltmain.sh (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 7 Ryan Steinmetz freebsd_committer freebsd_triage 2011-12-02 13:07:11 UTC
State Changed
From-To: open->closed

A fix has been committed.  Please update to net-snmp-5.7.1_1.  Thanks 
for the report!