blackjudas has asked for the wisdom of the Perl Monks concerning the following question:
I went to investigate, I re-compiled the Msql-Mysql-modules distro to re-install, but even when I first run perl Makefile.PL I see the following as the first 3 lines, before the question of which driver(s) I want to make:Can't load '/usr/lib/perl5/site_perl/i386-linux/auto/DBD/mysql/mysql.s +o' for module DBD::mysql: Unable to resolve symbol at /usr/lib/perl5/ +i386-linux/5.00404/DynaLoader.pm line 166. at (eval 27) line 2
The rest goes smoothly and moves on, once I run make test it passed only about 1% of the tests, now, obviously the make isn't making mysql.so. Petruchio pointed me to the mysql documentation which says that if you get the above messages, change a certain line in the Install.pm module from $sysliblist .= " -lm"; to $sysliblist .= " -lm -lz"; well I went in and the line read $sysliblist .= " -lm -lz -lgz", confused, I changed it to what the documentation states verbatim. The result was the same. I've run out of options, could anyone give me any suggestions? What can I do with this? Could I transfer someone else's set-up to this server just to have mysql access, the script doesn't need to access a server on the localhost, it needs to access a completely different DB server 5,000 miles away. Any help in this matter will receive my utmost appreciation.perl: can't resolve symbol 'open64' perl: can't resolve symbol '__lxstat64' perl: can't resolve symbol 'fopen64' Which drivers do you want to install?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problems with DBD::mysql
by DrManhattan (Chaplain) on Oct 18, 2001 at 07:09 UTC |