SUMMARY problem with install of DBD-mysql

From: Gerard Henry <Gerard.Henry_at_cmi.univ-mrs.fr>
Date: Fri Jul 05 2002 - 06:24:10 EDT
sorry for this late summary...
thanks to Lupe Christoph, and Dale Poulter.

one of solution (not unique i think) is:
deinstall mysql-3.22.26a, and compile from scratch mysql-3.23.49. After, 
i can install DBD::mysql binary from CPAN without mistakes.

I try other thing, compile DBD-mysql, download mysql from sunfreeware, 
etc..., nothing works! always mistakes with libmysql.


My initial question:
 > i'm trying to install a perl module called DBD-mysql, on solaris 2.8.
 > First, i installed mysql 3.22.26a from sunfreeware.com
 > next, i install perl5.6.1 from sunfreeware.com.
 > I try to install a binary distribution of DBD-mysql, but when i test it
 > on a programm called contactME.pl found at
 > http://mysql.turbolift.com/mysql/DBD_3.21.X.php3, there is a mistake:
 > install_driver(mysql) failed: Can't load
 > '/usr/local/lib/perl5/site_perl/5.6.1/s
 > un4-solaris/auto/DBD/mysql/mysql.so' for module DBD::mysql: ld.so.1:
 > /usr/local/
 > bin/perl: fatal: libmysqlclient.so.10: open failed: No such file or
 > directory at
 >  /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
 >  at (eval 4) line 3
 > Compilation failed in require at (eval 4) line 3.
 > Perhaps a required shared library or dll isn't installed where expected
 >  at /usr/local/apache/cgi-bin/contactME.pl line 425
 > [Mon Jul  1 17:59:41 2002] [error] [client 193.50.130.120] Premature end
 > of scri
 > pt headers: /usr/local/apache/cgi-bin/contactME.pl
 >
 > I don't have libmysqlclient.so.10, but only libmysqlclient.so.6.
 > So i try to download DBD-mysql-2.1017.tar.gz, and recompile it to use
 > the right library. And now, mistake is:
 > bibcmi-root% perl Makefile.PL "--cflags=-I/usr/local/mysql/include/mysql
 > --libs=-L/usr/local/mysql/lib/mysql -lmysqlclient.a"
 > Can't exec "mysql_config": No such file or directory at Makefile.PL line
 > 169.
 > readline() on closed filehandle PIPE at Makefile.PL line 171.
 > Can't exec "mysql_config": No such file or directory at Makefile.PL line
 > 169.

-- 
Gerard HENRY
LATP UMR 6632
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Jul 5 06:29:26 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:48 EST