[Canberra-pm] Can't locate library
John.Hockaday at ga.gov.au
John.Hockaday at ga.gov.au
Sun May 21 19:51:40 PDT 2006
Kim,
The path to the Copy.pm package "/usr/lib/perl5/5.8.0/File" is not in your
@INC array. You can fix this by adding in your script:
use lib "/usr/lib/perl5/5.8.0/File";
It should find it then. There are other ways of doing this by setting your
LD_LIBRARY_PATH but that may not be available on your operating system.
I hope that this helps.
John
> -----Original Message-----
> From: canberra-pm-bounces+john.hockaday=ga.gov.au at pm.org
> [mailto:canberra-pm-bounces+john.hockaday=ga.gov.au at pm.org]
> On Behalf Of Kim Holburn
> Sent: Monday, 22 May 2006 12:46 PM
> To: canberra-pm at pm.org
> Subject: [Canberra-pm] Can't locate library
>
>
> Anyone give me a clue here?
>
> # l /usr/lib/perl5/5.8.0/File/
> total 196
> drwxr-xr-x 3 root root 4096 Jun 8 2005 ./
> drwxr-xr-x 42 root root 4096 Jun 8 2005 ../
> -r--r--r-- 1 root root 9420 Feb 2 2005 Basename.pm
> -r--r--r-- 1 root root 7351 Feb 2 2005 CheckTree.pm
> -r--r--r-- 1 root root 4284 Feb 2 2005 Compare.pm
> -r--r--r-- 1 root root 13697 Feb 2 2005 Copy.pm
> -r--r--r-- 1 root root 16626 Feb 2 2005 DosGlob.pm
> -r--r--r-- 1 root root 34332 Feb 2 2005 Find.pm
> -r--r--r-- 1 root root 7352 Feb 2 2005 Path.pm
> drwxr-xr-x 2 root root 4096 Jun 8 2005 Spec/
> -r--r--r-- 1 root root 8716 Feb 2 2005 Spec.pm
> -r--r--r-- 1 root root 3372 Feb 2 2005 stat.pm
> -r--r--r-- 1 root root 54085 Feb 2 2005 Temp.pm
> root at inside:/opt/coldfusionmx/wwwroot/nicta_intranet/finder/people
> # ./aliases-exim.pl -h
> Can't locate FILE/Copy.pm in @INC (@INC contains: /usr/lib/
> perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/
> perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/
> site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/
> 5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/
> lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /
> usr/lib/perl5/5.8.0 .) at ./aliases-ADS-exim.pl line 196.
> BEGIN failed--compilation aborted at ./aliases-ADS-exim.pl line 196.
>
>
> Kim
> --
> Kim Holburn
> Network Consultant
> Ph: +61 2 61258620 M: +61 417820641 F: +61 2 6230 6121
> mailto:kim at holburn.net aim://kimholburn
> skype://kholburn - PGP Public Key on request
> Cacert Root Cert: http://www.cacert.org/cacert.crt
> Aust. Spam Act: To stop receiving mail from me: reply and let me know.
>
> Use ISO 8601 dates [YYYY-MM-DD] http://www.saqqara.demon.co.uk/
> datefmt.htm
> Democracy imposed from without is the severest form of tyranny.
> -- Lloyd Biggle, Jr. Analog, Apr 1961
>
>
> _______________________________________________
> Canberra-pm mailing list
> Canberra-pm at pm.org
> http://mail.pm.org/mailman/listinfo/canberra-pm
>
More information about the Canberra-pm
mailing list