[CentOS] libmysqlclient not found, while compiling PowerDNS

Sun Jan 21 15:46:21 UTC 2007
Jim Perrin <jperrin at gmail.com>

> I am unable to compile opendbx, if I issue the command rpmbuild -ta
> opendbx-1.0.3.tar.gz it fails with the following mesasges
>
> checking for mysql_init in -lmysqlclient_r... no
> checking for mysql_init in -lmysqlclient... no
> configure: error: mysql library (libmysqlclient) not found
> error: Bad exit status from /var/tmp/rpm-tmp.40942 (%build)

It's likely looking in /usr/include/mysql and /usr/lib/mysql/* for linking.

mysqlclient1X-devel packages put things in usr/include/mysql[3,4] and
/usr/lib/mysql[3,4]. You may need to adjust the configure/make
information accordingly, or see if powerDNS has packages for
fedora/rhel.





-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell