1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Los Angeles, CA
    Rep Power
    [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?
  2. #2
  3. No Profile Picture
    Devshed Newbie (0 - 499 posts)
    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';
    use Sort::Fields;

    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).]

IMN logo majestic logo threadwatch logo seochat tools logo