Skip Menu |

This queue is for tickets about the DBD-mysql CPAN distribution.

Report information
The Basics
Id: 14500
Status: rejected
Priority: 0/
Queue: DBD-mysql

People
Owner: Nobody in particular
Requestors: morten_bjoernsvik [...] yahoo.no
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 3.0002
Fixed in: (no value)



Subject: unable to install DBD::mysql - undefined symbol: _intel_fast_memcpy
Hi compiling DBD::mysql stops with an unresolved symbol when doing a test All tests fail: Running make test 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 '/root/.cpan/build/DBD-mysql-3.0002/blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: /root/.cpan/build/DBD-mysql-3.0002/blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: _intel_fast_memcpy at /usr/lib/perl5/5.8.6/i586-linux-thread-multi/DynaLoader.pm line 230. 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 This happends with both bundle::DBD::mysql and DBD::mysql DBD::mysql v3.0002 DBI v1.48 Running suse 9.3 with gcc 3.3.5: Linux mortenbnewlap 2.6.11.4-21.7-default #1 Thu Jun 2 14:23:14 UTC 2005 i686 athlon i386 GNU/Linux
From: mortenb
[guest - Wed Sep 7 16:48:14 2005]: It is the same with DBD-mysql-3.0002_1, identical error
From: mortenb
It turns out the problem seem to be mysql built with intel compilers. They were sourced and the .configure script must have chosen it instead of gcc. # icc -V Intel(R) C Compiler for 32-bit applications, Version 8.1 Build 20050207Z Package ID: l_cc_pc_8.1.028 Copyright (C) 1985-2005 Intel Corporation. All rights reserved. I've tried rebuild using icc, but it does not help. My workaround is to install the perl-DBI, perl-DBD-mysql etc rpm packages for my distribution.
On 2005-09-07 16:48:14 ζ˜ŸζœŸδΈ‰, guest wrote: Show quoted text
> Hi > > compiling DBD::mysql stops with an unresolved symbol when doing a test > All tests fail: > > Running make test > 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 > '/root/.cpan/build/DBD-mysql- > 3.0002/blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: > /root/.cpan/build/DBD-mysql- > 3.0002/blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: > _intel_fast_memcpy at /usr/lib/perl5/5.8.6/i586-linux-thread- > multi/DynaLoader.pm line 230. > 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 > > This happends with both bundle::DBD::mysql and DBD::mysql > > DBD::mysql v3.0002 > DBI v1.48 > > Running suse 9.3 with gcc 3.3.5: > Linux mortenbnewlap 2.6.11.4-21.7-default #1 Thu Jun 2 14:23:14 UTC > 2005 i686 athlon i386 GNU/Linux
I found the identic circumstance, and I'v tried update Perl from 5.8.0 to 5.8.8, no use. DBI: 1.50 DBD:3.0004 CPU: Authlon XP1800+ Is this a problem of mysql, or DBD? whose problem, God save me!
This is not a bug with DBD::mysql. It has to do with the flags from mysql_config (part of MySQL server) which is used by 'perl Makefile.PL' being the flags the binary of MySQL that you downloaded from MySQL not working with DBD::mysql compile. I'm not sure what the solution is. 95% of the time, the cflags and link flags are correct for compiling DBD::mysql. You could move mysql_config out and see if the defaults that 'perl Makefile.PL' uses will work.
This isn't a DBD::mysql problem, it is a bug in the MySQL build itself (actually mysql_config and the client library). http://bugs.mysql.com/bug.php?id=18776 is the bug to track this issue.