Re: Can't locate RRDs.pm
Stephen Carville <[email protected]>
| Newsgroups | gmane.network.cricket.user |
|---|---|
| Message-ID | <[email protected]> |
Warrick FitzGerald wrote: > Stephen Carville wrote: > >>Does cricket have permission to enter the directory and read files from it? >> >> > > Ah thanks Stephen, I ran chown -R cricket.cricket * in the binding > folder and that seems to have done it ... great stuff. > > I tried running collector again and now get the following: > > Can't load > '/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/RRDs/RRDs.so' > for module RRDs: librrd.so.2: cannot open shared object file: No such > file or directory at > /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230. > at ./collector line 32 > Compilation failed in require at ./collector line 32. > BEGIN failed--compilation aborted at ./collector line 32. It can't find librrd.so.2. > I'm guessing this has something to do with your "and read files from it" > part of the statement. > > Line 32: is > > use lib "$Common::global::gInstallRoot/lib"; > use RRDs 1.000101; > > Which is defined in "cricket-conf.pl" as: > > package Common::global; > > $gCricketHome = "/home/cricket"; > $gInstallRoot = "$gCricketHome/cricket"; > #$gConfigRoot = "$gCricketHome/cricket-config"; > > So I guess it's looking for RRDs.so in /home/cricket/cricket/lib My setup does but your's appear to be looking in /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/RRDs/ try # ldd \ /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/RRDs/RRDs.so to find out where perl expect to find out where RRDs.so expects to find the missing library. > > > Should I just copy this file into that folder or is there a smarter way > \ correct way to deal with this? > > > Thanks > Warrick > > > > -- Stephen Carville <[email protected]> Unix and Network Admin Nationwide Totalflood 6033 W. Century Blvd Los Angeles, CA 90045 310-342-3602 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV