Install issue - "missing" libmysqlclient.a

Forum for questions and support relating to the 1.25.x releases only.
Locked
alex974
Posts: 2
Joined: Fri Jul 06, 2012 8:58 pm

Install issue - "missing" libmysqlclient.a

Post by alex974 »

Hi everyone.

I have got Centos 6.2 and I am trying to compile ZoneMinder 1.25.0 on it using this manual: w-w-w-dot-mindcryme-dot-com/2012/02/02/ ... -centos-6/. Sorry about the URL, apparently it is "too spammy" according forum submission form...

Unfortunatelly, the system returns error when I try to run ./configure:

.....<skipped>
checking for sigaction... yes
checking for ffmpeg... yes
checking for ffmpeg... /usr/local/bin/ffmpeg
checking for pnmscale... no
checking for pnmscale... no
checking for mysql_init in -lmysqlclient... no
configure: error: zm requires libmysqlclient.a

Can anybody let me know how I can make it use dynamic library linking instead of static one ? I understand that this has been changed in Centos 6.2 ? Any help would be much appreciated.

Regards,
Alex
alex974
Posts: 2
Joined: Fri Jul 06, 2012 8:58 pm

Re: Install issue - "missing" libmysqlclient.a

Post by alex974 »

All I needed was to include the directory where libmysqlclient.so file was... Now ./configure state went through fine, but make shows even worse error:

Code: Select all

zm_ffmpeg_camera.cpp:105:44: error: missing binary operator before token "("


I guess it is a problem with ffmpeg and not zoneminder... Any help here ?
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Install issue - "missing" libmysqlclient.a

Post by knight-of-ni »

Which version of ffmpeg are you using?
Did you compile ffmpeg from source or install from a repository?
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
Locked