On Wed, 2020-06-03 at 23:14 +0800, baalchina via Pdns-users wrote: > Hi all, I installed pdns4.3 and mysql 5.7 in a centos 7 system.When I > tried to start pdns, i got a error message: > > > -- Unit pdns.service has begun starting up. > Jun 03 23:08:21 pdns1 pdns_server[6533]: Loading > '/usr/lib64/pdns/libgmysqlbackend.so' > Jun 03 23:08:21 pdns1 pdns_server[6533]: Unable to load module > '/usr/lib64/pdns/libgmysqlbackend.so': libmysqlclient.so.
It's linked against the mariadb-libs package included in CentOS 7 base, not whatever repo you pulled 5.7 from. Did you install the pdns packages from their yum repository or just rpm -i it? yum would have pulled in the right dependency. # ldd /usr/lib64/pdns/libgmysqlbackend.so libmysqlclient.so.18 => /usr/lib64/mysql/libmysqlclient.so.18 (0x00007fb2dd730000) .... # rpm -q -f /usr/lib64/mysql/libmysqlclient.so.18 mariadb-libs-5.5.65-1.el7.x86_64
_______________________________________________ Pdns-users mailing list Pdns-users@mailman.powerdns.com https://mailman.powerdns.com/mailman/listinfo/pdns-users