Hi Erez, I had the same problem. The solution is to install the Net-SNMP
package (the rpm file). Once you install the package the adequate Perl
module installs and mib2c start working. You may have to use the -force
directive to install this rpm...
Hope this helps.
Shuki
_____
From: [email protected]
[mailto:[email protected]] On Behalf Of Makavy,
Erez (Erez)
Sent: Sunday, December 11, 2005 11:17 AM
To: [email protected]
Subject: mib2c not working, perl module perl/SNMP not installed correctly
Hi,
Please help with this installation problem, I'm stuck !
The problem summery :
--------------------------------
* mib2c does not work !
Problem characteristics:
----------------------------------
* running mib2c complains that the SNMP perl module is not installed,
showing this message:
ERROR: You don't have the SNMP perl module installed. Please obtain
this by getting the latest source release of the net-snmp toolkit from
http://www.net-snmp.org/download/ <http://www.net-snmp.org/download/> .
Once you download the source and
unpack it, the perl module is contained in the perl/SNMP directory.
See the README file there for instructions.
* make test in the perl directory fails with message:
make[1]: Entering directory
`/root/download/net-snmp-5.2.2/perl/default_store'
PERL_DL_NONLAZY=1 /usr/bin/perl "-I../blib/lib" "-I../blib/arch" test.pl
1..64
Can't load '../blib/arch/auto/NetSNMP/default_store/default_store.so' for
module NetSNMP::default_store: libnetsnmp.so.9: cannot open shared object
file: No such file or directory at
/usr/lib/perl5/5.8.6/i386-linux-thread-multi/DynaLoader.pm line 230.
at test.pl line 71
Compilation failed in require at test.pl line 71.
BEGIN failed--compilation aborted at test.pl line 71.
Installation notes:
-------------------------
* I'm downloaded and unpacked net-snmp-5.2.2 tar file, onto a Linux
2.6.11 system (Fedora distribution), on a PC.
* As root user, in the decompressed directory, I ran:
* ./configure --with-perl-modules
* make
* make install
* No errors occured in either stage.
Solutions attempted:
-----------------------------
* make uninstall, make clean, and try the whole thing again.
* check that the file
perl/blib/arch/auto/NetSNMP/default_store/default_store.so' exists. --> it
does
* verify that the SNMP module was installed by commiting : perldoc
perllocal --> module Bundle::NetSNMP is installed at
/usr/lib/perl5/site_perl/5.8.6, LINKTYPE : Dynamic
* Try installing on a different PC (running also Linux) --> it works
just fine, but I want to fix this one.
----------------
Any ideas?
----------------
Thanks in advance,
Erez Makavy.
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.