libmysqlclient.a reported as missing
-
- Posts: 19
- Joined: Mon Jul 18, 2005 1:37 pm
libmysqlclient.a reported as missing
Hello All:
During ./configure of Zoneminder 1.21 under SuSe Linux 9.3 I get the message:
checking for mysql_init in -lymsqlcilent...no
configure: error: zm requires libmysqlclient.a
Configure terminates with this message. MySQL Server is running, and libmysqlclient.a exists - can't really say anything else because I have no clue about MySQL.
Any suggestions and hints what I am doing wrong here would be most welcome!
Thanks!
During ./configure of Zoneminder 1.21 under SuSe Linux 9.3 I get the message:
checking for mysql_init in -lymsqlcilent...no
configure: error: zm requires libmysqlclient.a
Configure terminates with this message. MySQL Server is running, and libmysqlclient.a exists - can't really say anything else because I have no clue about MySQL.
Any suggestions and hints what I am doing wrong here would be most welcome!
Thanks!
Thomas
-
- Posts: 7
- Joined: Mon Jul 18, 2005 12:47 pm
- Location: Swindon, UK
-
- Posts: 19
- Joined: Mon Jul 18, 2005 1:37 pm
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 19
- Joined: Mon Jul 18, 2005 1:37 pm
Most distro's have Mysql executables in /usr or /usr/local and the data is in /var. You should be pointing to the execuables not the data.
./configure --with-mysql=/usr --with-webdir=/var/www/html/zoneminder --with-cgidir=/var/www/cgi-bin -with-webuser= --with-webgroup=
You should also fill in the webuser and group.
Regards,
Cordel
./configure --with-mysql=/usr --with-webdir=/var/www/html/zoneminder --with-cgidir=/var/www/cgi-bin -with-webuser= --with-webgroup=
You should also fill in the webuser and group.
Regards,
Cordel
./configure
Under SuSE try :
If all needed devel rpm's are installed, it should work.
Regards,
Rainer
Code: Select all
./configure --with-mysql=/usr --with-webuser=wwwrun --with-webgroup=www --with-webdir=/srv/www/htdocs/zoneminder --with-cgidir=/srv/www/cgi-bin/zoneminder --sysconfdir=/etc/zoneminder --with-ffmpeg=/usr --with-lame=/usr
Regards,
Rainer
-
- Posts: 19
- Joined: Mon Jul 18, 2005 1:37 pm
./configure
I'm running SuSE 9.3 with these mysql RPM's installed
zm is compiling without any probs
Regards,
Rainer
Code: Select all
rpm -qa | grep ^mysql
mysql-shared-4.1.10a-3
mysql-4.1.10a-3.2
mysql-query-browser-1.1.5-4
mysql-devel-4.1.10a-3
mysql-connector-java-3.1.6-3
mysql-client-4.1.10a-3
mysql-administrator-1.0.19-3
mysql-Max-4.1.10a-3.2
Regards,
Rainer
Hey folks!
I found it helped me with library problems to use Apt for RPM. http://linux01.gwdg.de/apt4rpm/
I had the same problem as you Thomas, but after running and executing the ./configure again, everything compiled smoothly. Though hardcore RPM fans might think using package managers like apt-get is lazy, it generally turns out to be far more efficient.
For my install, i used SuSE 9.3 minimal install, customised to include the "Simple Webserver" package selection, the development tools, and then searched for links, libjpeg, and wget. I let SuSE autoupdate for me.
After that i used links to download apt for rpm from the above site, and installed ffmpeg, mysql-devel.
After downloading zm, it compiled and installed smoothly following the instructions in the readme.
Max[/code]
I found it helped me with library problems to use Apt for RPM. http://linux01.gwdg.de/apt4rpm/
I had the same problem as you Thomas, but after running
Code: Select all
apt-get install mysql-devel ffmpeg
For my install, i used SuSE 9.3 minimal install, customised to include the "Simple Webserver" package selection, the development tools, and then searched for links, libjpeg, and wget. I let SuSE autoupdate for me.
After that i used links to download apt for rpm from the above site, and installed ffmpeg, mysql-devel.
After downloading zm, it compiled and installed smoothly following the instructions in the readme.
Max[/code]
________________
Max Ashton - CCSE
Max Ashton - CCSE
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
The only thing I can think of would be to set up a remote camera to point to an image, either on your internal network or an external one. Anything should work really and you could piggyback on another webcam (or even ZM) feed. It would be a bit rude to do so for an extended period without asking first of course though.
Phil
Phil
-
- Posts: 19
- Joined: Mon Jul 18, 2005 1:37 pm