Need Help getting perl module DBD::mysql installed for bugzilla on RedHat.

Posted by Alos Diallo on Server Fault See other posts from Server Fault or by Alos Diallo
Published on 2010-04-13T18:32:41Z Indexed on 2010/04/13 18:33 UTC
Read the original article Hit count: 297

Filed under:
|
|
|
|

Hi everyone I am having some issues getting Bugzilla setup, I have the software on the server and am trying to get the pre-rec's setup. I am using RedHat 4.1.2-42. I have all of the required perl modules save one:DBD::mysql

When I try: sudo perl install-module.pl DBD::mysql

I get the following response(this is only an excerpt):

rm -f blib/arch/auto/DBD/mysql/mysql.so LD_RUN_PATH="/usr/lib64/mysql:/usr/lib64:/lib64" /usr/bin/perl myld gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so \ -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto \

/usr/bin/ld: skipping incompatible /usr/lib/libssl.so when searching for -lssl /usr/bin/ld: skipping incompatible /usr/lib/libssl.a when searching for -lssl /usr/bin/ld: cannot find -lssl collect2: ld returned 1 exit status make: * [blib/arch/auto/DBD/mysql/mysql.so] Error 1 /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible

I then tried the following: CFLAGS="-I/usr/lib64/mysql:/usr/lib64:/lib64" perl install-module.pl DBD::mysql

I get the same result.

I have also tried to install it using CPAN but also get the same result. Right now I have DBD-mysql v3.0007 but need (v4.00)

Also when I try to install open ssl it says I have the latest version.
Does anyone know what I have to do to get this to work? Any help would be greatly appreciated. Thank you

© Server Fault or respective owner

Related posts about bugzilla

Related posts about perl