Annoying error with mysql.so
Vadtec <[email protected]>
| Newsgroups | gmane.comp.db.mysql.perl |
|---|---|
| Organization | www.vadtec.net |
| Message-ID | <[email protected]> |
I'm having issues with DBD::mSQL & DBD::mysql. Both modules install just fine. However, when I use either of them, I get DynaConf errors. Here is a copy of my Apache error log (I dont have this problem when I run the script from the command like, IE perl <file here>): Sun Mar 20 02:25:54 2005] [error] [client 127.0.0.1] install_driver (mysql) failed: Can't load '/usr/lib/perl5/site_perl/5.8.5/i386-linux- thread-multi/auto/DBD/mysql/mysql.so' for module DBD::mysql: /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread- multi/auto/DBD/mysql/mysql.so: failed to map segment from shared object: Permission denied at /usr/lib/perl5/5.8.5/i386-linux-thread- multi/DynaLoader.pm line 230. [Sun Mar 20 02:25:54 2005] [error] [client 127.0.0.1] at (eval 1) line 3 [Sun Mar 20 02:25:54 2005] [error] [client 127.0.0.1] Compilation failed in require at (eval 1) line 3. [Sun Mar 20 02:25:54 2005] [error] [client 127.0.0.1] Perhaps a required shared library or dll isn't installed where expected I installed via CPAN, cpan => install DBD::msql & cpan => install DBD::mysql Both install fine, but I get the error above when I use it in a web CGI script for my website. I have tried reinstalling with --static and --config, but that doesnt help. Is this an issue with Apache not being able to access the mysql.so file or directory? I dont see how as those dirs are chmod 755, so it should be able to read and exec. Any help would be great! Vadtec [email protected] -- MySQL Perl Mailing List For list archives: http://lists.mysql.com/perl To unsubscribe: http://lists.mysql.com/[email protected]