Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Perl Misc (http://www.velocityreviews.com/forums/f67-perl-misc.html)
-   -   Msql-Mysql-modules: unable to find my mySQL 'include' dir (http://www.velocityreviews.com/forums/t891165-msql-mysql-modules-unable-to-find-my-mysql-include-dir.html)

francescomoi@europe.com 03-04-2005 09:57 AM

Msql-Mysql-modules: unable to find my mySQL 'include' dir
 
Hi.

Working on mySQL v4.1.9 and Perl v5.8.5 on a Linux machine.

I want to install 'Msql-Mysql-modules'
http://search.cpan.org/~jwied/Msql-M...odules-1.2219/
but when configuring it, I'm requested to specify the path where
mySQL 'lib' and 'include' are.

The only dir I've found on my server is this:
/usr/src/redhat/BUILD/mysql-4.1.9/
where one dir called 'lib' and another called 'libmysql'. However,
this last dir doesn't content the same structure as other mySQL
servers I've worked with (e.g. /usr/local/mysql/lib/mysql), and I'm
not able to install the Perl module, since I get this error message:

-------------------------------------------------------
Cannot find one of lib/mysql/libmysqlclient.a, lib/libmysqlclient.a,
lib/mysql/libmysqlclient.so, lib/libmysqlclient.so in
/usr/src/redhat/BUILD/mysql-4.1.9/ at lib/DBD/mysql/Install.pm line
165, <STDIN> line 4.
------------------------------------------------------

Any suggestion?


Martin Kissner 03-04-2005 03:23 PM

Re: Msql-Mysql-modules: unable to find my mySQL 'include' dir
 
francescomoi@europe.com wrote :
>
> -------------------------------------------------------
> Cannot find one of lib/mysql/libmysqlclient.a, lib/libmysqlclient.a,
> lib/mysql/libmysqlclient.so, lib/libmysqlclient.so in
> /usr/src/redhat/BUILD/mysql-4.1.9/ at lib/DBD/mysql/Install.pm line
> 165, <STDIN> line 4.
> ------------------------------------------------------
>
> Any suggestion?


If you have a mysql_config command on your System, run:

mysql_config --libs

HTH
Martin



--
perl -e '$|=1;&p(7.74.117.115.116.32);&s();&p(97.110.111); &p(116.104.101
..114);&s;&p(32.112.101.114.108);&s();&p(32.104.97 .99.107.101.114.10);sub
s{sleep 1};sub p(){print "@_"}'


All times are GMT. The time now is 12:29 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.