problem with install of DBD-mysql

From: Gerard Henry (Gerard.Henry@cmi.univ-mrs.fr)
Date: Mon Jul 01 2002 - 13:13:28 EDT


hello,
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.

Anybody can help me ? TIA, i 'll resume...

-- 
Gerard HENRY
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:32 EDT