Devraj Mukherjee
2007-Jan-20 06:03 UTC
[CentOS] libmysqlclient not found, while compiling PowerDNS
Hi Everyone, I am trying to build the PowerDNS rpm from the source rpms powerdns-2.9.20-3.MIND.src.rpm, it requires opendbx-devel which I am trying to build from the instructions at (http://www.linuxnetworks.de/opendbx/download/index.html) I have subscribe to centosplus for packages like mysql5 and php5. I have the following MySQL packages installed [root at charlie ~]# rpm -qa | grep mysql mysql-server-5.0.22-1.centos.1 mysql-5.0.22-1.centos.1 mysqlclient10-3.23.58-9.2.c4 php-mysql-5.1.6-1.2.1.centos mysqlclient14-devel-4.1.14-4.2.c4.1 mysqlclient10-devel-3.23.58-9.2.c4 mysqlclient14-4.1.14-4.2.c4.1 postfix-2.2.10-1.RHEL4.2.mysql_pgsql.c4 mysql-devel-5.0.22-1.centos.1 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) Any ideas why my mysql client libraries can't be found by the various build processes? Thanks. -- "I never look back darling, it distracts from the now", Edna Mode (The Incredibles)
Karanbir Singh
2007-Jan-20 06:10 UTC
[CentOS] libmysqlclient not found, while compiling PowerDNS
Devraj Mukherjee wrote:> Any ideas why my mysql client libraries can't be found by the various > build processes?perhaps the tests are looking in the wrong place / testing for the wrong bit of code ? -- Karanbir Singh : http://www.karan.org/ : 2522219 at icq
>From the sounds of it the mysqlclient libaries are not compatible withMYSQL 5 in this case you may need to revert to a earlier version of MYSQL. You may want to check dag or rpmfind for a newer version of some those libaries. If not try MYSQL 4 and see that helps.> Hi Everyone, > > I am trying to build the PowerDNS rpm from the source rpms > powerdns-2.9.20-3.MIND.src.rpm, it requires opendbx-devel which I am > trying to build from the instructions at > (http://www.linuxnetworks.de/opendbx/download/index.html) > > I have subscribe to centosplus for packages like mysql5 and php5. I > have the following MySQL packages installed > > [root at charlie ~]# rpm -qa | grep mysql > mysql-server-5.0.22-1.centos.1 > mysql-5.0.22-1.centos.1 > mysqlclient10-3.23.58-9.2.c4 > php-mysql-5.1.6-1.2.1.centos > mysqlclient14-devel-4.1.14-4.2.c4.1 > mysqlclient10-devel-3.23.58-9.2.c4 > mysqlclient14-4.1.14-4.2.c4.1 > postfix-2.2.10-1.RHEL4.2.mysql_pgsql.c4 > mysql-devel-5.0.22-1.centos.1 > > 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) > > Any ideas why my mysql client libraries can't be found by the various > build processes? > > Thanks. > > -- > "I never look back darling, it distracts from the now", Edna Mode (The > Incredibles) > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >
Jim Perrin
2007-Jan-21 15:46 UTC
[CentOS] libmysqlclient not found, while compiling PowerDNS
> 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
Reasonably Related Threads
- postconf: /usr/lib/mysql/libmysqlclient.so.14: no version information available (required by postconf)
- OFF Topic: mysql installation problem
- RE: Asterisk-Addon-1.4.0 MySQL module
- libmysqlclient.so.14(libmysqlclient_14)(64bit)
- Dovecot can't start with error pop3-login & imap-login not supported protocol family