I am using DBD-mysql-2.1018 with a binary mysql_3.23.51 on Solaris 2.8. I can get thru Makefile.PL and make without errors or warnings. However I always get the same errors returned during make tests regardless of my command line parameters.
Below is the Makefile.PL params that I used last after reading the Known Problems section in INSTALL.html. perl Makefile.PL --cflags=-I'/usr/local/mysql/mysql_3.23.51/include' --libs=-L'/o pt/sfw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/ -lgcc -L/usr/local/mysql/mys ql_3.23.51/lib/libmysqlclient.a -lz' Below is the error that I receive running make test, these never seemed to change regardless of how I altered the params for Makefile.PL, same error for each test; t/00base...........install_driver(mysql) failed: Can't load 'blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: ld.so.1: perl: fatal: relocation error: file blib/arch/auto/DBD/mysql/mysql.so: symbol mysql_real_escape_string: referenced symbol not found at /usr/local/perl/lib/5.6.1/sun4-solaris/DynaLoader.pm line 206. Any ideas on what I'm doing wrong? Thanks, Don [EMAIL PROTECTED] At 15:14 -0400 8/13/02, Don wrote: >Hello [help], > >I installed DBD-mysql-2.1017 today and I started getting errors regarding, >mysql.so and lost my ability to connect to MySQL via Perl, the error >returned was; > >fatal relocation error: file >/usr/local/perl/lib/site_perl/5.6.1/sun4-solaris/auto/DBD/mysql/mysql.so: >symbols mysql_init: referenced symbol not found > >Then I reinstalled Msql-Mysql-modules, which wrote over mysql.so and fixed >the errors allowing me to connect again. FYI, I happen to be using an older >version of MySQL, version 3.21.33b. > >I would like to know why installing DBD-mysql ended up breaking my ability >to connect...? Any ideas? > >Also, if Msql-Mysql-modules works, why is there a need for the other module >DBD-mysql? > >I installed the DBD-mysql because I was installing bugzilla and it was a >prerequisite. > >What is the difference between the 2 modules, Msql-Mysql-modules and >DBD-mysql? Msql-Mysql-modules is the old name for what is now DBD::mysql. The latter is essentially the former with a new name. All current development takes place with DBD::mysql. Not sure why you got the error that you did, though. Possibly your version of MySQL is simply too old for it, though I doubt it. > >Are they interchangable? > >Thank you, > >Don >[EMAIL PROTECTED] --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php