[Pdns-users] unable to start pdns with libgmysqlbackend.so error

Alan Hodgson ahodgson at lists.simkin.ca
Wed Jun 3 15:29:06 UTC 2020


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




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20200603/8241a332/attachment.htm>


More information about the Pdns-users mailing list