Page 1 of 1

Install issue - "missing" libmysqlclient.a

Posted: Fri Jul 06, 2012 9:04 pm
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

Re: Install issue - "missing" libmysqlclient.a

Posted: Tue Jul 10, 2012 8:04 pm
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 ?

Re: Install issue - "missing" libmysqlclient.a

Posted: Fri Jul 13, 2012 11:16 pm
by knight-of-ni
Which version of ffmpeg are you using?
Did you compile ffmpeg from source or install from a repository?