perl-DBD-MySQL

Jianping Zhu jzhu at fisher.forestry.uga.edu
Tue Mar 2 10:50:04 UTC 2004


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





More information about the redhat-list mailing list