From: chad
To: [EMAIL PROTECTED]
Subject: Error using Msql-Mysql-modules-1.2216 with MySQL
>Description:
I am trying to install Msql-Mysql-modules-1.2216 for Perl.
The 'make' runs just fine, but when I run the test suite
'make test', it gives the following error (extremely verbose,
I know):
t/00base............install_driver(mysql) failed: Can't load
'.././blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql:
.././blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: __mempcpy at
/usr/lib/perl5/i386-linux/5.00404/DynaLoader.pm line 168.
at (eval 1) line 2
Perhaps a required shared library or dll isn't installed where expected
at t/00base.t line 38
dubious
Test returned status 2 (wstat 512, 0x200)
Undefined subroutine &Test::Harness::WCOREDUMP called at
/usr/lib/perl5/Test/Harness.pm line 252.
make[1]: *** [test_dynamic] Error 2
make[1]: Leaving directory `/root/Msql-Mysql-modules-1.2216/mysql'
make: *** [test] Error 2
It seems to be a problem with the mysql libraries, so I'm
posting to the mysql list...
I've tried a hundred different things, and I always get the
same sort of error. It also happened when I was trying to
install the DBD-mysql module.
MySQL was installed by another person here, but the
installation looks pretty standard, and I'm sure he did a
good job of it. I would like to avoid wiping the MySQL
installation because it is already in use by a suite of PHP
scripts, and they are working. Also, Perl is in use quite a
bit by the web site.
I am successfully using the DBD-mysql module to connect to
this same database while developing on a Windows NT ActivePerl
setup.
So, after spending two whole days on this problem, I felt it
was time to seek professional help. :-)
Any help would be appreciated.
Thanks,
Chad.
>How-To-Repeat:
installing 'Msql-Mysql-modules-1.2216', in the 'make test'
stage.
>Fix:
None yet... tried various 'workarounds', none have worked.
>Submitter-Id: <submitter ID>
>Originator:
>Organization:
<organization of PR author (multiple lines)>
>MySQL support: none
>Synopsis: <synopsis of the problem (one line)>
>Severity: <[ non-critical | serious | critical ] (one line)>
>Priority: <[ low | medium | high ] (one line)>
>Category: mysql
>Class: <[ sw-bug | doc-bug | change-request | support ] (one line)>
>Release: mysql-3.23.39 (Official MySQL binary)
>Environment:
<machine, os, target, libraries (multiple lines)>
System: Linux linus2.tnrdlib.bc.ca 2.0.36 #1 Tue Oct 13 22:17:11 EDT 1998
i686 unknown
Architecture: i686
Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/local/bin/gcc
/usr/bin/cc
GCC: Reading specs from
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs
gcc version 2.95.3 20010315 (release)
Compilation info: CC='gcc' CFLAGS='-O3 -mpentium ' CXX='gcc'
CXXFLAGS='-O3 -mpentium -felide-constructors' LDFLAGS='-static'
LIBC:
lrwxrwxrwx 1 root root 13 Feb 18 1999 /lib/libc.so.6 ->
libc-2.0.7.so
-rwxr-xr-x 1 root root 3070220 Oct 13 1998 /lib/libc-2.0.7.so
-rw-r--r-- 1 root root 7603158 Oct 13 1998 /usr/lib/libc.a
-rw-r--r-- 1 root root 178 Oct 13 1998 /usr/lib/libc.so
Configure command: ./configure --prefix=/usr/local/mysql
'--with-comment=Official MySQL binary' --with-extra-charsets=complex
--with-server-suffix= --enable-assembler --with-mysqld-ldflags=-all-static
--with-client-ldflags=-all-static --disable-shared
Perl: This is perl, version 5.004_04 built for i386-linux
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php