Bug 79252

Summary: MySQL DBD triggers undefined symbol
Product: [Retired] Red Hat Linux Reporter: Wade Minter <minter>
Component: perl-DBD-MySQLAssignee: Chip Turner <cturner>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 9   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 18:50:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 79578    

Description Wade Minter 2002-12-08 20:47:30 UTC
Description of Problem:

Did an upgrade from Psyche-->GinGin1-->GinGin2.  Attempted to run a Perl
application with a database call, and got:

/usr/bin/perl: relocation error:
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBD/mysql/mysql.so:
undefined symbol: mysql_init

The following reduced testcase generates the bug, too.

#######
use DBI;

$dbh = DBI->connect("DBI:mysql:mysql","root","password");
$query = "SELECT * FROM users";
my $sth=$dbh->prepare($query);
$sth->execute;
$sth->finish;
#####


MySQL packages installed:
[minter@localhost minter]$ rpm -qa | grep -i mysql
perl-DBD-MySQL-2.1017-4
MySQL-python-0.9.1-4
mysql-3.23.52-5
mysql-server-3.23.52-5

perl-DBI-1.30-2

Comment 1 Chip Turner 2003-01-07 04:27:35 UTC

*** This bug has been marked as a duplicate of 80562 ***

Comment 2 Red Hat Bugzilla 2006-02-21 18:50:17 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.