Need help getting Bugzilla setup on RedHat - perl install-module.pl DBD::mysql
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Need help getting Bugzilla setup on RedHat - perl install-module.pl DBD::mysql
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):
/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
And a response: it would appear that you're running a 64-bit version of
Linux, but the script that builds your DBD::Mysql modules looks in the 32
bit library PATHs (only), and finds an "incompatible" version of libssl
which it can't link against.
Have you tried
a) installing the module via CPAN rather than
"sudo perl install-module.pl DBD::mysql"?
b) I've never used above method, or have any idea
how exactly it works, but have you tried to pass
extra flags on the command-line? Maybe something like:
Thank you Tinkster I tried to install it using CPAN but get the same result. When I try the flag:
[root@walhoutlab bugzilla-3.4.6]# sudo -i CFLAGS="-I/usr/lib64/mysql:/usr/lib64:/lib64" /usr/bin/perl install-module.pl DBD::mysql
Can't open perl script "install-module.pl": No such file or directory
The strange thing is when I try without the flag it goes through. Any idea's as to why this would happen? Thanks
/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
CAPTTOFU/DBD-mysql-4.013.tar.gz
/usr/bin/make -- NOT OK
Skipping test because of notest pragma
Running make install
Make had returned bad status, install seems impossible
I have also tried the following:YUM, RPM and get the following responses:
yum:
Package perl-DBD-MySQL-3.0007-2.el5.x86_64 already installed and latest version Nothing to do
RPM 32bit:
warning: perl-DBD-mysql-4.006-1.el4.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6 error: Failed dependencies: libmysqlclient.so.14 is needed by perl-DBD-mysql-4.006-1.el4.rf.i386 libmysqlclient.so.14(libmysqlclient_14) is needed by perl-DBD-mysql-4.00 6-1.el4.rf.i386
RPM 64bit:
rpm -i perl-DBD-mysql-4.006-1.el5.rf.x86_64.rpm warning: perl-DBD-mysql-4.006-1.el5.rf.x86_64.rpm: Header V3 DSA signature: NOKE Y, key ID 6b8d79e6 file /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Bundle /DBD/mysql.pm from install of perl-DBD-mysql-4.006-1.el5.rf.x86_64 conflicts wit h file from package perl-DBD-MySQL-3.0007-2.el5.x86_64 file /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/DBD/my sql.pm from install of perl-DBD-mysql-4.006-1.el5.rf.x86_64 conflicts with file from package perl-DBD-MySQL-3.0007-2.el5.x86_64 file /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/DBD/my sql/GetInfo.pm from install of perl-DBD-mysql-4.006-1.el5.rf.x86_64 conflicts wi th file from package perl-DBD-MySQL-3.0007-2.el5.x86_64 file /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/DBD/my sql/INSTALL.pod from install of perl-DBD-mysql-4.006-1.el5.rf.x86_64 conflicts w ith file from package perl-DBD-MySQL-3.0007-2.el5.x86_64 file /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/D BD/mysql/mysql.so from install of perl-DBD-mysql-4.006-1.el5.rf.x86_64 conflicts with file from package perl-DBD-MySQL-3.0007-2.el5.x86_64 file /usr/share/man/man3/Bundle:BD::mysql.3pm.gz from install of perl- DBD-mysql-4.006-1.el5.rf.x86_64 conflicts with file from package perl-DBD-MySQL- 3.0007-2.el5.x86_64 file /usr/share/man/man3/DBD::mysql.3pm.gz from install of perl-DBD-mysq l-4.006-1.el5.rf.x86_64 conflicts with file from package perl-DBD-MySQL-3.0007-2 .el5.x86_64 file /usr/share/man/man3/DBD::mysql::INSTALL.3pm.gz from install of perl -DBD-mysql-4.006-1.el5.rf.x86_64 conflicts with file from package perl-DBD-MySQL -3.0007-2.el5.x86_64
You seem to have produced a bit of a mess ... May I suggest you get
rid of all the non-RH rpms for now, and then try re-installing only the
64-bit versions? I *assume* your box is 64-bit?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.