|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
[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
|
|||
|
|||
|
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; #!/usr/local/bin/perl 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).] |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > Apache+MySQL+Perl?! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|