[Pdns-users] Problem compiling 2.9.20 w/ MySQL support

Jeff Fisher guppy at techmonkeys.org
Tue Oct 10 20:13:16 UTC 2006


Hi guys,

I'm trying to upgrade from pdns 2.9.17 to 2.9.20 but it isn't going well.

I used this for the configure line:

./configure --prefix=/usr/local/stow/pdns-2.9.20
--with-mysql-lib=/usr/lib/mysql --with-mysql-includes=/usr/include/mysql

When I type make and it attempts to build the gmysqlbackend, this happens:

creating libgmysqlbackend.la
/bin/sed: can't read /usr/lib/mysql/libz.la: No such file or directory
libtool: link: `/usr/lib/mysql/libz.la' is not a valid libtool archive
make[3]: *** [libgmysqlbackend.la] Error 1
make[3]: Leaving directory `/usr/src/pdns-2.9.20/modules/gmysqlbackend'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/pdns-2.9.20/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/pdns-2.9.20'

Any ideas as to what might be happening?

This is a CentOS 4.4 machine.

Thanks,
Jeff


More information about the Pdns-users mailing list