RE: DBD/mysql/mysql.so: undefined symbol: mysql_server_init
John Trammell <[email protected]>
| Newsgroups | gmane.comp.db.mysql.perl |
|---|---|
| Message-ID | <1EEA8FAEE559BE49B397E42A3D42A5A703B3528080@floyd.universe.holmescorp.com> |
> -----Original Message----- > From: Sean O'Donnell [mailto:[email protected]] > Sent: Tuesday, April 10, 2007 2:56 AM > To: [email protected] > Subject: DBD/mysql/mysql.so: undefined symbol: mysql_server_init > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I had a problem installing DBD::mysql due to the dbdimp.c file, but I > was able to get it installed with the following command: > > $ perl Makefile.PL --cflags=-I/usr/local/mysql/include > - --libs=/usr/local/mysql/lib; make; make install; > > It installed OK like that (rather than just 'perl Makefile.PL; make; > make install;'), but it doesn't appear to be working when I try to use > it via Perl Scripts. > > $ ./test.pl > /usr/bin/perl: relocation error: > /usr/local/perl/lib/site_perl/5.8.7/i686-linux/auto/DBD/mysql/mysql.so: > undefined symbol: mysql_server_init > > I've yet to find any decent solution via Google, so I figured I'd ask > here instead. > > I'm using DBD::mysql (v4.004) with MySQL (v4.1.9). > > Any suggestions? > > - -- > > Sean O'Donnell > South Pasadena, CA From the error message, I'm assuming you're using some flavor of Linux. Perhaps your distro has a prepackaged version of DBD::mysql you can use? INFORMATION IN THIS MESSAGE, INCLUDING ANY ATTACHMENTS, IS INTENDED FOR THE PERSONAL AND CONFIDENTIAL USE OF THE INTENDED RECIPIENT(S) NAMED ABOVE. If you are not an intended recipient of this message, or an agent responsible for delivering it to an intended recipient, you are hereby notified that you have received this message in error, and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you received this message in error, please notify the sender immediately, delete the message, and return any hard copy print-outs. -- MySQL Perl Mailing List For list archives: http://lists.mysql.com/perl To unsubscribe: http://lists.mysql.com/[email protected]