Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

install problem with DBD-mysql-4.005 on Solaris 10

From: Robert Rombaut <rrom(at)lle.rochester.edu>
Date: Thu Aug 23 2007 - 10:16:23 EDT


Hi,

I'm trying to install DBD-mysql-4.005 on Solaris 10. I have previously installed mysql-5.0.41-solaris10-sparc and have it up and running.

When I run "perl Makefile.PL" the default options are set to ...

--cflags=-I/oudvmt/local_rt/mysql/include -mt -D_FORTEC_ -xarch=v8
--libs=-xarch=v8 -L/oudvmt/local_rt/mysql/lib -lmysqlclient -lz -
lposix4 -lresolv -lgen -lsocket -lnsl -lm

Because -mt and xarch=v8 are not recognized by gcc, I pass in the following options instead ...

--cflags=--cflags "-I/oudvmt/local_rt/mysql/include" --libs
--libs="-L/oudvmt/local_rt/mysql/lib -lmysqlclient -lz -lposix4 -
lresolv -lgen -lsocket -lnsl -lm"

This seems to work for "perl Makefile.PL" and "make" except "make" has the following warnings ...

Warning: duplicate function definition 'do' detected in mysql.xs, line 225
Warning: duplicate function definition 'rows' detected in mysql.xs, line 612

Do you need help?X

I persevere ahead and run "make test" and get the following error for all tests ...

Can't load '/u/rrom/.cpan/build/DBD-mysql-4.005-pjWJWE/blib/arch/auto/ DBD/mysql/mysql.so' for module DBD::mysql: ld.so.1: perl: fatal: relocation error: file /u/rrom/.cpan/build/DBD-mysql-4.005-pjWJWE/ blib/arch/auto/DBD/mysql/mysql.so: symbol mysql_server_init: referenced symbol not found at /oudvmt/local_rt/lib/perl5/5.8.8/sun4- solaris/DynaLoader.pm line 230.
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3. Perhaps a required shared library or dll isn't installed where expected at t/00base.t line 38

Appreciate any insight you might have.

Thanks,
-Bob

--

MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl To unsubscribe: http://lists.mysql.com/perl?unsub=lists@pantek.com Received on Thu Aug 23 10:12:12 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 10:15:35 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library