I am using zm-1.19.1
./configure --with-mysql=/usr/share/mysql/
--with-webdir=/var/www/htm/zm
--with-cgidir=/var/www/cgi-bin
--with-ffmpeg=/usr/local/ffmpeg/libavcodec
The last 3 lines are showned below
checking for dlsym in -ldl... yes
checking for mysql_init in -lmysqlclient... no
configure: error: zm requires libmysqlclient.a
==============================================
I searched for the file libmysqlclient.a and it is in /usr/lib/mysql/ directory.
This is what I used in ./configure as showned above
[root@localhost /]# find / -name libmysqlclient.a
/usr/lib/mysql/libmysqlclient.a
==============================================
Problem when running ./configure. error: zm requires libmysq
Re: Problem when running ./configure. error: zm requires lib
I got this figured out already. Skip this.
Re: Problem when running ./configure. error: zm requires lib
I have the same problem....How did you fix it? Any help much appreciated
Re: Problem when running ./configure. error: zm requires lib
install mysql-devel
i dont know what release are you using..
i dont know what release are you using..
Re: Problem when running ./configure. error: zm requires lib
thanks...got past that bump....now i have a new problem!
I can load and log in to the Console window, but there is a message : " Warning Division by zero in /var/www/html/zm/zm_html_view_console.php on line 62 "
I am thinking that this is a php problem, will try to change php.ini file, per README (if i can figure out how to do this)
I can load and log in to the Console window, but there is a message : " Warning Division by zero in /var/www/html/zm/zm_html_view_console.php on line 62 "
I am thinking that this is a php problem, will try to change php.ini file, per README (if i can figure out how to do this)
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Re: Problem when running ./configure. error: zm requires lib
This is nearly always caused by the database not being provisioned. Make sure you have run zmconfig.pl at least once after you have created your database.
Phil,
Phil,
-
- Posts: 10
- Joined: Mon Nov 15, 2004 7:24 pm
Was there an answer as to how I go about fixing the error:
checking for mysql_init in -lmysqlclient... no
configure: error: zm requires libmysqlclient.a
I installed mysql-devel on Fedora Core 2 and I'm still getting this error. It looks like configure is checking for mysql_init and not finding it. Am I suppose to use a certain version of mysql? Can someone help me out?
Thanks
checking for mysql_init in -lmysqlclient... no
configure: error: zm requires libmysqlclient.a
I installed mysql-devel on Fedora Core 2 and I'm still getting this error. It looks like configure is checking for mysql_init and not finding it. Am I suppose to use a certain version of mysql? Can someone help me out?
Thanks
-
- Posts: 10
- Joined: Mon Nov 15, 2004 7:24 pm
-
- Posts: 10
- Joined: Mon Nov 15, 2004 7:24 pm