Jeri has asked for the wisdom of the Perl Monks concerning the following question:
The strange part is when I do a search in the GUI over my whole file system. It also finds two instances of AmosLib.pm, but not in the same location.jdilts@jdilts-VirtualBox:~$ sudo find ./ -name "AmosLib.*" [sudo] password for jdilts: ./.local/share/Trash/files/bin/amos-3.1.0-rc1/src/PerlModules/AmosLib. +pm ./.local/share/Trash/files/src/PerlModules/AmosLib.pm
It seems my program wants to find AmosLib.pm in the AMOS directory which was found by my GUI search and not by the terminal find command. So, I decided to do an export to that directory and I look at my PERL5LIB path.Can't locate AMOS/AmosLib.pm in @INC (@INC contains: /etc/perl /usr/lo +cal/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/ +share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/si +te_perl .) at /usr/local/bin/amos-3.1.0-rc1/src/Converters/tarchive2a +mos.pl line 5. BEGIN failed--compilation aborted at /usr/local/bin/amos-3.1.0-rc1/src +/Converters/tarchive2amos.pl line 5.
Okay good. Now my script should work, but no. I get the same error and don't see the directory I inserted into the PERL5LIB.jdilts@jdilts-VirtualBox:~$ export PERL5LIB=/usr/local/bin/amos-3.1.0- +rc1/lib/AMOS:$PERL5LIB jdilts@jdilts-VirtualBox:~$echo $PERL5LIB /usr/local/bin/amos-3.1.0-rc1/lib/AMOS:/usr/local/bin/amos-3.1.0-rc1/s +rc/PerlModules:/home/jdilts/perl5/lib/perl5/i686-linux-gnu-thread-mul +ti-64int:/home/jdilts/perl5/lib/perl5
I'm not sure what I'm doing wrong. All help is greatly appreciated! Thanks!Can't locate AMOS/AmosLib.pm in @INC (@INC contains: /etc/perl /usr/lo +cal/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/ +share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/si +te_perl .) at /usr/local/bin/amos-3.1.0-rc1/src/Converters/tarchive2a +mos.pl line 5. BEGIN failed--compilation aborted at /usr/local/bin/amos-3.1.0-rc1/src +/Converters/tarchive2amos.pl line
|
|---|