Dear list,
I can't compile zoneminder on my FC3 box due to the following error:
./configure --with-webdir=/var/www/html/secure --with-cgidir=/var/www/html/secure
...
checking for mysql_init in -lmysqlclient... no
configure: error: zm requires libmysqlclient.a
# checking to see what I have:
rpm -qa |grep sql
cyrus-sasl-sql-2.1.19-3
mysql-3.23.58-16.FC3.1
mysql-3.23.58-16.FC3.1
mysql-devel-3.23.58-16.FC3.1
postgresql-libs-7.4.8-1.FC3.1
locate libmysql
/usr/lib64/mysql/libmysqlclient_r.so.10.0.0
/usr/lib64/mysql/libmysqlclient_r.so.10
/usr/lib64/mysql/libmysqlclient.so.10.0.0
/usr/lib64/mysql/libmysqlclient.so.10
/usr/lib/ooo-1.1/program/libmysql2.so
/usr/lib/mysql/libmysqlclient_r.so.10.0.0
/usr/lib/mysql/libmysqlclient_r.so.10
/usr/lib/mysql/libmysqlclient.so.10.0.0
/usr/lib/mysql/libmysqlclient.so.10
All this says I have libmysqlclient.so.10 but not libmysqlclient.a.
Anyone got a hint? I am sure this is a very simple matter...
Thanks,
SA
FC3 compile problem...
I have tried this but it doen't make any difference (below). I think this is an x86_64 problem (other posts in this list seem relevant). Not sure where to go yet...
./configure --with-webdir=/var/www/html/secure --with-cgidir=/var/www/html/secure --with-mysql=/usr
...
checking for mysql_init in -lmysqlclient... no
configure: error: zm requires libmysqlclient.a
# checking to see what I have:
rpm -qa |grep sql
cyrus-sasl-sql-2.1.19-3
mysql-3.23.58-16.FC3.1
mysql-3.23.58-16.FC3.1
mysql-devel-3.23.58-16.FC3.1 <<< devel package
postgresql-libs-7.4.8-1.FC3.1
locate libmysql
/usr/lib64/mysql/libmysqlclient_r.so.10.0.0
/usr/lib64/mysql/libmysqlclient_r.so.10
/usr/lib64/mysql/libmysqlclient.so.10.0.0
/usr/lib64/mysql/libmysqlclient.so.10
/usr/lib/ooo-1.1/program/libmysql2.so
/usr/lib/mysql/libmysqlclient_r.so.10.0.0
/usr/lib/mysql/libmysqlclient_r.so.10
/usr/lib/mysql/libmysqlclient.so.10.0.0
/usr/lib/mysql/libmysqlclient.so.10
^^^^^^^^^^^^^ no .a library version
./configure --with-webdir=/var/www/html/secure --with-cgidir=/var/www/html/secure --with-mysql=/usr
...
checking for mysql_init in -lmysqlclient... no
configure: error: zm requires libmysqlclient.a
# checking to see what I have:
rpm -qa |grep sql
cyrus-sasl-sql-2.1.19-3
mysql-3.23.58-16.FC3.1
mysql-3.23.58-16.FC3.1
mysql-devel-3.23.58-16.FC3.1 <<< devel package
postgresql-libs-7.4.8-1.FC3.1
locate libmysql
/usr/lib64/mysql/libmysqlclient_r.so.10.0.0
/usr/lib64/mysql/libmysqlclient_r.so.10
/usr/lib64/mysql/libmysqlclient.so.10.0.0
/usr/lib64/mysql/libmysqlclient.so.10
/usr/lib/ooo-1.1/program/libmysql2.so
/usr/lib/mysql/libmysqlclient_r.so.10.0.0
/usr/lib/mysql/libmysqlclient_r.so.10
/usr/lib/mysql/libmysqlclient.so.10.0.0
/usr/lib/mysql/libmysqlclient.so.10
^^^^^^^^^^^^^ no .a library version