DBD::mysql 'make test' fails

[email protected]
Newsgroups gmane.comp.db.mysql.perl
Message-ID <[email protected]>
hi,

I get the following error when running "make test" in trying to build 
and install DBD-mysql-3.0008

The first few lines of "make test" are:
---------------------------------------------------------
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" 
"test_harness(0,\ 'blib/lib', 'blib/arch')" t/*.t
t/00base.............install_driver(mysql) failed: Can't load 
'/home/koehler/lx\r/DBD-mysql-3.0008/blib/arch/auto/DBD/mysql/mysql.so' 
for module DBD::mysql: 
/h\ome/koehler/lxr/DBD-mysql-3.0008/blib/arch/auto/DBD/mysql/mysql.so: 
undefined s\ymbol: __pure_virtual at 
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoade\r.pm line 229.
 at (eval 2) line 3
Compilation failed in require at (eval 2) line 3.
Perhaps a required shared library or dll isn't installed where expected
---------------------------------------------------------


The output I get from "perl Makefile.PL" is:
-------------------------------------------------------------------
I will use the following settings for compiling and testing:

   cflags        (mysql_config) = -I/usr/local/mysql/include 
-mcpu=pentiumpro
  embedded      (mysql_config) =
   libs          (mysql_config) = -L/usr/local/lib 
-L/usr/local/mysql/lib -lmysqlclient -lz -lcrypt -lnsl -lm -lc 
-lnss_files -lnss_dns -lresolv -lc -lnss_files
-lnss_dns -lresolv
  mysql_config  (guessed     ) = mysql_config
  nocatchstderr (default     ) = 0
  nofoundrows   (default     ) = 0
  ssl           (guessed     ) = 0
  testdb        (default     ) = test
  testhost      (default     ) =
  testpassword  (default     ) =
  testsocket    (default     ) =
  testuser      (default     ) =

To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.

Using DBI 1.53 (for perl 5.008 on i386-linux-thread-multi) installed in 
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI/
Writing Makefile for DBD::mysql
-------------------------------------------------------------------

Using Red Hat Linux 3.2.2-5

fpk

________________________________________________________________________
Check out the new AOL.  Most comprehensive set of free safety and 
security tools, free access to millions of high-quality videos from 
across the web, free AOL Mail and more.


-- 
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:    http://lists.mysql.com/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.