:Mysql and Perl on Solaris 9 for Bugzilla

Donovan, Chris Chris.Donovan at team.telstra.com
Tue May 4 05:50:17 UTC 2004


Hello,

     I have successfully installed Bugzilla and it is working fine as I said in my original email.  However I just wanted to point out that I had to download and compile the source myself taking the default of creating both shared and static libraries for ./configure.  It wasn't a problem with MySQL directly but rather the DBD::Mysql perl module that was needing the shared library mysqlclient.so.  I think perhaps for some admins at least that it might be beneficial to note unless you can find the mysqlclient.so library.  If you couldn't find it you would need to download the source and compile it yourself or at least find a package that has that in it.  I am referring to sunfreeware packages that didn't have it nor did the binary copies for Solaris that I downloaded from mysql.com itself.  I will be submitting this to the mysql-perl-list as well, but for now since it doesn't mention anything in their docs I figure since Bugzilla requires it, it could be beneficial for the documentation to mention it.

     I addition to what I have said I did look through the package/binary installtion and did not find anything but the static library mysqlclient.a but no .so.  I'd like to stress that this is not directly related to Bugzilla itself but rather something that the perl-mysql-list should take care of.  It just helps to know in advance what will be needed for proper planning and deployment and that is where the Bugzilla docs come into play.

Chris Donovan-


-----Original Message-----
From: Masopust Christian [mailto:christian.masopust at siemens.com]
Sent: Tuesday, 4 May 2004 3:35 PM
To: 'developers at bugzilla.org'
Subject: Re: :Mysql and Perl on Solaris 9 for Bugzilla




Hello Chris, 
check if the mysql-libraries are installed and where they are installed. 
maybe you have to extend your library-search-path either with the LD_LIBRARY_PATH 
variable or via ld.config (see man-page for crle) 
regards, 
chris 
-----Ursprungliche Nachricht----- 
Von: developers-owner at bugzilla.org 
[mailto:developers-owner at bugzilla.org]Im Auftrag von Donovan, Chris 
Gesendet: Dienstag, 04. Mai 2004 01:09 
An: developers at bugzilla.org 
Betreff: DBD::Mysql and Perl on Solaris 9 for Bugzilla 


Hi, 
     I admit that the following bit of information may not be relevant for some as it isn't really directly related to development of bugzilla but something I felt should be mentioned.
     I just finished installing Bugzilla on Solaris 9.  I had a few issues with installing the perl module DBD::Mysql.  My problem was I installed the binary package for MySQL and did not compile from source(.so vs. .a libraries).  Now everything but this one module(DBD::Mysql) worked great.  My `make test` kept failing because it couldn't find certain libraries.  Specifically mysqlclient.so could not be found.  I am not a developer so I had a fun time figuring this out even though it says so right in the error message.  I didn't know the difference between a shared object and a static one and now I do (:
     I just thought perhaps it was worth mentioning in the install documentation available on the web (and all else if possible) that you need the shared objects for DBD::Mysql.  I have read through the DBD::Mysql docs and nothing mentions needing the source code for mysql or the shared objects, but obviously to me they are needed.
     Anyways it is finally installed.  I would be happy to provide some scripts as to the failings and to the successfull installs I have had if anyone would like.  I saved them in a `script` session.  I hope this gets put into the docs for future sys admins so they can install Bugzilla for their misc projects without this headache.


Thanks, 


Chris Donovan- 
- 
To view or change your list settings, click here: 
<http://bugzilla.org/cgi-bin/mj_wwwusr?user=christian.masopust@siemens.com> 




More information about the developers mailing list