install problem with DBD-mysql-4.005 on Solaris 10

install problem with DBD-mysql-4.005 on Solaris 10

am 23.08.2007 16:16:23 von Robert Rombaut

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

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=gcdmp-msql-mysql-modules@m .gmane.org