Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > perl versions and other stuff

Thread Tools

perl versions and other stuff
Posts: n/a
TO all who responded on my previous thread, thanks! I found the answer
deep in the darl recesses of another Perl book I keep in my office.

Now for YAPQ:
In our test environment, we have a colleciton of RH 7.2 workstations
used to test servers. On some of the workstations, we can launch a
specific test that calls the SNMP/NetSNMP pacakges and the test works

On others, if we attempt to launch the same test, we get the following
Script started on Tue Apr 26 15:41:59 2005
bash-2.05$ perl -MSNMP -e 'print "$SNMP::VERSION"'
Can't load
for module NetSNMP::default_store: cannot open shared
object file: No such file or directory at
/usr/lib/perl5/5.8.5/i386-linux/ line 230.
at /usr/local/lib/perl5/site_perl/5.8.5/i386-linux/ line 16
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.8.5/i386-linux/ line 16.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.5/i386-linux/ line 16.
Compilation failed in require.
BEGIN failed--compilation aborted.
bash-2.05$ exit

I have checked the path(s) on all machines and the files are intact. I
initially thought that there may be a case of 'versionitis' running
rampant, but that is not the case. I thought that it may be a path
issue, but the same user can use the scripts on machine A with no
problem, while machine B results in a compiler error.

Any thoughts/ideas/suggestions?



Reply With Quote
John Bokma
Posts: n/a
      04-26-2005 Removed) wrote:

> /usr/local/lib/perl5/site_perl/5.8.5/i386-linux/auto/NetSNMP/default_st
> ore/

This file *is* on the machine with problems? Moreover, is it readable?

John Small Perl scripts:
Perl programmer available:
Happy Customers:

Reply With Quote
Posts: n/a
said file(s) are located on all machines both good and bad. And yes,
the files are readable.

Reply With Quote
Joe Smith
Posts: n/a
(E-Mail Removed) wrote:
> cannot open shared object file: No such file or directory
> I have checked the path(s) on all machines and the files are intact.

Well, since you did not state where* live, it looks
like that library (and not a perl module) is missing from your system.
Reply With Quote
Posts: n/a
My thanks to all who replied on this thread. It turns out that there is
a bit of system corruption on the machines I alluded to in the earlier

The siplest fix was to copy the working files/binaries from the good
machines to one of the offending machines. That fixed the problem (so
far). The ultimate fix is a complete system reinstall and rebuild.

Ultimately, I would like to see all of the module files used for
testing located to a NFS mounted server and have users place this in
their path var. This allows a single machine to be used as the source
for all tools and helps to reduce the amount of maintenance required.
Now if I can get managment buyoff to do this.


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
can perl modules be used by various versions of perl? garey Perl Misc 3 05-29-2007 07:01 AM
Ruby Versions and other languages performane comparison Stephan Wehner Ruby 1 07-13-2006 12:41 AM
One last question about ASP.NET 1.1 application recycling, load time and other boring stuff Darren Kopp ASP .Net 11 02-24-2006 12:15 AM
Design and other stuff =?Utf-8?B?Tkg=?= ASP .Net 3 10-06-2005 12:42 PM
New Spyware Blocklist and other stuff posted sponge Computer Security 8 03-30-2005 07:34 AM