August 15th, 2000, 06:24 PM
[root@mail aaron]# ./pqimport
Can't locate Mysql.pm in @INC (@INC contains: /usr/lib/perl5/5.00503/i386-linux
/usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/
site_perl/5.005 .) at ./pqimport line 9.
BEGIN failed--compilation aborted at ./pqimport line 9.
This is the message i recieve when i try to execute a script to update my database...
Also, When i try to access the search engine i get an internal error.... ?!
I need to be able to copy the database off one server on to another with the website... i dont know if apache is even reading these scipts?
August 15th, 2000, 11:01 PM
Your Mysql.pm probably not in a standard location. The quick workaround is to add a "use lib" line and specify its location.
Here is an example of using Sort::Fields;
use lib '/usr/lib/path/my_path';
In this example, Fields.pm is in /usr/lib/path/my_path/Sort directory.
[This message has been edited by freebsd (edited August 16, 2000).]