I get the error,
checking for mysql_init in -lmysqlclient... no
configure: error: zm requires libmysqlclient.a
I have mysql installed
using redhat 9
the file exists
this is the line i am using to compile
./configure --with-mysql=/usr/lib/mysql --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin
any ideas
compile error libmysqlclient...
Re: compile error libmysqlclient...
i've got the same error too, using redhat 9.
i manually installed mysql-devel-3.23.54a-3.70_1.i386.rpm
using the command: rpm -i mysql-devel-3.23.54a-3.70_1.i386.rpm
and it has been installed to /usr/lib/mysql
what could be wrong?
i manually installed mysql-devel-3.23.54a-3.70_1.i386.rpm
using the command: rpm -i mysql-devel-3.23.54a-3.70_1.i386.rpm
and it has been installed to /usr/lib/mysql
what could be wrong?
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Re: compile error libmysqlclient...
Normally using
--with-mysql=/usr
will work as it looks in <dir>/lib for the library <dir>/include for the headers etc.
Try that and see how you get on.
Cheers,
Phil
--with-mysql=/usr
will work as it looks in <dir>/lib for the library <dir>/include for the headers etc.
Try that and see how you get on.
Cheers,
Phil
Re: compile error libmysqlclient...
Hi Phil,
thank you very much. Your suggestion worked for me.
Today i mastered the build-process and even the installation of zoneminder .15
on my box. Tomorrow i will try to set up some monitors to get it working.
The zm.php therefore works properly.
Cheers,
Danny
thank you very much. Your suggestion worked for me.
Today i mastered the build-process and even the installation of zoneminder .15
on my box. Tomorrow i will try to set up some monitors to get it working.
The zm.php therefore works properly.
Cheers,
Danny