It looks to me like you have the wrong rpm for your version of the libc libraries. I always just compile it myself and it always works that way. It's not saying that the mysql.so doesn't exist but that there is a symbol missing in the libc dynamic library.
Regards,
Drew
-----Original Message-----
From: Jianping Zhu [mailto:jzhu@xxxxxxxxxxxxxxxxxxxxxxx]
Sent: Tuesday, March 02, 2004 10:53 AM
To: redhat-list@xxxxxxxxxx
Subject: perl-DBD-MySQL
i have redhat 9.0 serive and an apache server on it.
i trid to user perl to develop a registration system.
i have installed mysql apache and perl-DBD-MySQL-2.1021-3.i386.rpm.
when i click http://coopunit.forestry.uga.edu:8080/book/regstr.html
i get an error page.
the error log message is
==============================================================================
[Tue Mar 02 10:37:20 2004] [error] [client 128.192.47.22] Premature end
of scrip
t headers: regstr.pl, referer:
http://coopunit.forestry.uga.edu:8080/book/regstr
.html
[Tue Mar 02 10:37:20 2004] [error] [client 128.192.47.22]
install_driver(mysql)
failed: Can't load
'/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/aut
o/DBD/mysql/mysql.so' for module DBD::mysql:
/usr/lib/libmysqlclient.so.10: symb
ol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time
referen
ce at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line
229., refe
rer: http://coopunit.forestry.uga.edu:8080/book/regstr.html
[Tue Mar 02 10:37:20 2004] [error] [client 128.192.47.22] at (eval 4)
line 3, r
eferer: http://coopunit.forestry.uga.edu:8080/book/regstr.html
[Tue Mar 02 10:37:20 2004] [error] [client 128.192.47.22] Compilation
failed in
require at (eval 4) line 3., referer:
http://coopunit.forestry.uga.edu:8080/book
/regstr.html
[Tue Mar 02 10:37:20 2004] [error] [client 128.192.47.22] Perhaps a
required sha
red library or dll isn't installed where expected, referer:
http://coopunit.fore
stry.uga.edu:8080/book/regstr.html
[Tue Mar 02 10:37:20 2004] [error] [client 128.192.47.22] at
/var/www/cgi-bin/r
egstr.pl line 14, referer:
http://coopunit.forestry.uga.edu:8080/book/regstr.htm
===========================================================================
any i do find
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBD/mysql/mysql.soexits.
Thanks for any suggestion.
JP
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list