Hi everybody,

I am using FC1 with the following MySQL packages.

]# rpm -qa|grep -i mysql
MySQL-shared-compat-5.0.22-0
MySQL-server-5.0.22-0
MySQL-python-0.9.1-9
MySQL-client-5.0.22-0
php-mysql-4.3.8-1.1
MySQL-shared-standard-4.1.14-0.rhel3
perl-DBD-MySQL-2.1021-3
MySQL-devel-5.0.22-0
MySQL-shared-5.0.22-0
MySQL-Max-5.0.22-0
MySQL-bench-5.0.22-0

While running a perl program, I am getting the following error.

#perl /home/animesh/sqlite_load.pl

install_driver(mysql) failed: Can't load '/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/DBD/mysql/mysql.so' for module DBD::mysql: /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/DBD/mysql/mysql.so: undefined symbol: __pure_virtual at /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line 229.
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at /home/animesh/sqlite_load.pl line 68

#rpm -ql perl-DBD-MySQL
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Bundle/DBD/mysql.pm
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/DBD/mysql.pm
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/DBD/mysql.pod
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/DBD/mysql/INSTALL.pod
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Mysql.pm
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Mysql/Statement.pm
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBD/mysql/mysql.bs
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBD/mysql/mysql.so
/usr/share/man/man3/Bundle:BD::mysql.3pm.gz
/usr/share/man/man3/DBD::mysql.3pm.gz
/usr/share/man/man3/DBD::mysql::INSTALL.3pm.gz
/usr/share/man/man3/Mysql.3pm.gz

Here my perl-DBD-MySQL's version is 2.1021-3 and I have the following file only
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBD/mysql/mysql.so

But in the error message it is asking for different module
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/DBD/mysql/mysql.so

And this is also there
ls -l /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/DBD/mysql/mysql.so
-r-xr-xr-x 1 root root 2096676 Dec 17 13:16 /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/DBD/mysql/mysql.so

But when I invoke the following command
rpm -qf /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/DBD/mysql/mysql.so
file /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/DBD/mysql/mysql.so is not owned by any package

please come back to me on any queries
Please help me out to solve this problem.

Thanks Inadvance,
Mummaneni.