tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Summary: Perl Modules for MySQL   (Msql-Mysql-modules-1.2215)
@ 2001-05-15 19:22 Greg Freemyer
  0 siblings, 0 replies; only message in thread
From: Greg Freemyer @ 2001-05-15 19:22 UTC (permalink / raw)
  To: tru64-unix-managers

Thanks for the rapid response.

Especially Harold March who recommended :


Check out section 4.11.4, "Problems Using the Perl DBI/DBD
Interface", in the MySQL manual at=20

http://www.mysql.com/documentation/mysql/bychapter/manual_Installing.html#Perl_=
support_problems
I personally used the first bulleted suggestion:

Compile the Msql-Mysql-modules distribution with perl Makefile.PL --static =
--config=20
rather than perl Makefile.PL.=20

=3D=3D=3D
This did the trick for me.  Thanks again.

=3D=3D=3D=3D
Original question below.



Tru64 4.0D (I know it's old, but it works.)

I'm trying to get MySql operational for a Perl based CGI script.

I have compiled and installed successfully mysql-3.23.37

I have also succesfully installed the perl modules=20
  DBI-1.14
  Data-Dumper-2.101
  Data-ShowTable-3.3

But when I try to install the perl module=20

  Msql-Mysql-modules-1.2215

The perl Makefile.PL and make commands work fine.

The make test fails miserably with the below:

# make test
make[1]: Entering directory =
`/usr/local/src/perl-modules/Msql-Mysql-modules-1.2215/mysql'
make[1]: Leaving directory =
`/usr/local/src/perl-modules/Msql-Mysql-modules-1.2215/mysql'
make[1]: Entering directory =
`/usr/local/src/perl-modules/Msql-Mysql-modules-1.2215/mysql'
PERL_DL_NONLAZY=3D1 /usr/local/bin/perl -I../blib/arch -I../blib/lib =
-I/usr/local/lib/perl5/5.6.0/alpha-dec_osf -I/usr/local/lib/perl5/5.6.0 -e 'use =
Test::Harness qw(&runtests $verbose); $verbose=3D0; runtests @ARGV;' t/*.t
t/00base............install_driver(mysql) failed: Can't load =
'../blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: dlopen: cannot =
load ../blib/arch/auto/DBD/mysql/mysql.so at =
/usr/local/lib/perl5/5.6.0/alpha-dec_osf/DynaLoader.pm line 200.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/00base.t line 38
t/00base............dubious                                                 =20
       Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 4-5
       Failed 2/5 tests, 60.00% okay

The mysql.so file does exist.

Any suggestions as to what to try next would be appreciated.

Greg Freemyer
Internet Engineer
Deployment and Integration Specialist
The Norcross Group
www.NorcrossGroup.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-05-15 19:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-15 19:22 Summary: Perl Modules for MySQL (Msql-Mysql-modules-1.2215) Greg Freemyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox