Page 1 of 1
libmysqlclient.a Installation problem
Posted: Mon Dec 08, 2003 8:34 am
by joshlewis
When I run the configure script ( ./configure --with-mysql=/usr/ --with-webdir /var/www/html/Zoneminder --with-cgidir=/var/www/cgi-bin/) as suggested in the documentation, I get the following error: configure: error: zm requires libmysqlclient.a
I've searched for this library both on my system and on the web, but cannot seem to find it.
Can anyone suggest where I may be able to find it?
I'm using MySQL 3.23.54, PHP 4.2.2 with Apache 2 (I think), which all work fine.
Any assistance would be appreciated
-JOsh
Re: libmysqlclient.a Installation problem
Posted: Mon Dec 08, 2003 9:43 am
by snakebyte
Assuming you're running redhat, or can use redhat rpms, you need the mysql-devel rpm. Otherwise if you compiled your own mysql, you should have that file somewhere on your system.
Re: libmysqlclient.a Installation problem
Posted: Mon Dec 08, 2003 11:00 am
by joshlewis
Thanks Ian,
after a lot of scratching around, especially on
www.mysql.com, I found what was necessary, and the configure script now works.
Thanks again
-JOsh
Re: libmysqlclient.a Installation problem
Posted: Tue Dec 09, 2003 1:33 pm
by matraxus
Would you be so kind to write me what did you do ? I have the same problem and no idea what to do next :( mysql-dev rpm I 've got installed and it didn't help :(
Thanks
Matraxus
Re: libmysqlclient.a Installation problem
Posted: Wed Dec 10, 2003 5:51 am
by joshlewis
If I remember correctly, the RPM needed is either the MySQL-shared-compat-...-.RPM or the MySQL-devel-...-.RPM.
Hope it helps
-JOsh
Re: libmysqlclient.a Installation problem
Posted: Sat Jan 03, 2004 4:57 pm
by yaginuk
try this web site
http://rpmfind.net/linux/RPM/
and search for mysql-devel and mysql-client, im on redhat 9 and had to update all sorts from g++ to mysql for zoneminder and gaim
Re: libmysqlclient.a Installation problem
Posted: Sat Jan 24, 2004 12:25 am
by gessel
I could not get the install to work no matter the various RPMs and src.rpms built and installed until I ran the following
ln -s /usr/lib/mysql/libmysqlclient.a /usr/lib/libmysqlclient.a
No more complaints
Re: libmysqlclient.a Installation problem
Posted: Thu Feb 05, 2004 3:24 am
by heyarnold
I had this error, and to solve it I followed David Gessel's suggestion of linking the file.
ln -s /usr/lib/mysql/libmysqlclient.a /usr/lib/libmysqlclient.a
This worked! and I did not half to download and install any additional RPM's from MySQL site.
I am using Redhat 9 with everything loaded.