FC3 compile problem...

Support and queries relating to all previous versions of ZoneMinder
Locked
david
Posts: 3
Joined: Thu Jan 05, 2006 11:25 pm

FC3 compile problem...

Post by david »

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
david
Posts: 3
Joined: Thu Jan 05, 2006 11:25 pm

Post by david »

Errm sorry - wrong forum this is relates to the 1.21.4 release - I will cross post...
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

You need to install mysql-devel and your configure path for mysql should point at the prefix install location ( /usr )

Corey
david
Posts: 3
Joined: Thu Jan 05, 2006 11:25 pm

Post by david »

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
Locked