Red Hat Bugzilla – Bug 139501
Cannot run Perl modules which uses SNMP.so
Last modified: 2007-11-30 17:07:05 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Description of problem:
"make test" fails while trying to compile any Perl module which tries to use
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. download and extract SNMP::Multi Perl module
2. perl Makefile.PL
4. make test
Actual Results: # make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
Can't load '/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-
multi/auto/SNMP/SNMP.so' for module
multi/auto/SNMP/SNMP.so: undefined symbol: PerlIO_fprintf
at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229.
at blib/lib/SNMP/Multi.pm line 673
Compilation failed in require at blib/lib/SNMP/Multi.pm line 673.
BEGIN failed--compilation aborted at blib/lib/SNMP/Multi.pm line 673.
Compilation failed in require at test.pl line 13.
BEGIN failed--compilation aborted at test.pl line 13.
not ok 1
make: *** [test_dynamic] Error 255
Expected Results: Successful test
Searching for "PerlIO_fprintf" in Google gives hints that there was some kind
of bug in net-snmp
The fix will come out with next update.
When it will be available? Because now it is quite a showstopper for us.
And maybe I can download net-snmp-perl-5.0.9-2.30E.12 from beta
channel? Is this problem fixed here?
It has to pass through our QA team and it's scheduled for RHEL3-U5.
The version fixing your problem is net-snmp-perl-5.0.6-2.30E.13.
When at least beta version of fixed rpm will be available?
Try to understand me - this bug is critical for us. And I'd like to avoid
installing all the net-snmp from source.
I've put the "beta" version on my personal page so you'll find it here
- http://people.redhat.com/rvokal/net-snmp/ - there's a source package
and also binaries for i386 (if you need bin rpms for another
architecture let me know)
Thanks but while trying to update or install I'm getting the following error
messages. Also librpm* is only -4.2.so in my system.
# rpm -Uvh net-snmp-5.0.9-2.30E.13.i386.rpm net-snmp-utils-5.0.9-
2.30E.13.i386.rpm net-snmp-devel-5.0.9-2.30E.13.i386.rpm net-snmp-perl-
error: Failed dependencies:
libnetsnmp.so.5 is needed by net-snmp-5.0.9-2.30E.13
libnetsnmpagent.so.5 is needed by net-snmp-5.0.9-2.30E.13
libnetsnmphelpers.so.5 is needed by net-snmp-5.0.9-2.30E.13
libnetsnmpmibs.so.5 is needed by net-snmp-5.0.9-2.30E.13
librpm-4.3.so is needed by net-snmp-5.0.9-2.30E.13
librpmdb-4.3.so is needed by net-snmp-5.0.9-2.30E.13
librpmio-4.3.so is needed by net-snmp-5.0.9-2.30E.13
libselinux.so.1 is needed by net-snmp-5.0.9-2.30E.13
net-snmp-libs >= 5.0.9 is needed by net-snmp-5.0.9-2.30E.13
libnetsnmp.so.5 is needed by net-snmp-utils-5.0.9-2.30E.13
libnetsnmp.so.5 is needed by net-snmp-perl-5.0.9-2.30E.13
libnetsnmpagent.so.5 is needed by net-snmp-perl-5.0.9-2.30E.13
libnetsnmphelpers.so.5 is needed by net-snmp-perl-5.0.9-2.30E.13
libnetsnmpmibs.so.5 is needed by net-snmp-perl-5.0.9-2.30E.13
librpm-4.3.so is needed by net-snmp-perl-5.0.9-2.30E.13
librpmio-4.3.so is needed by net-snmp-perl-5.0.9-2.30E.13
Shame on me, I did the built on FC3. Now it should be fine ... You
also need to install net-snmp-libs.
Everything looks fine now. Modules run. Thank you for the help and rpms.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.