FS#42271 - [powerdns] Lib path moved
Attached to Project:
Community Packages
Opened by Matt (matth) - Monday, 06 October 2014, 18:49 GMT
Last edited by Alexander F. Rødseth (xyproto) - Friday, 17 October 2014, 09:53 GMT
Opened by Matt (matth) - Monday, 06 October 2014, 18:49 GMT
Last edited by Alexander F. Rødseth (xyproto) - Friday, 17 October 2014, 09:53 GMT
|
Details
Description:
It looks like the libraries are now stored in /usr/lib/powerdns/pdns/ but they are still trying to load from /usr/lib/powerdns/ Additional info: * package version(s) * 3.4.0-1 * config and/or log files etc. Here is the systemd error logs: Oct 06 14:45:55 ug pdns[23392]: Guardian is launching an instance Oct 06 14:45:55 ug pdns[23392]: Unable to load module '/usr/lib/powerdns/libgmysqlbackend.so': /usr/lib/powerdns/libgmysqlbackend.so: cannot open shared object file: No such file or directory Oct 06 14:45:55 ug pdns[23392]: dnsbackend unable to load module in gmysql Oct 06 14:45:56 ug pdns[23389]: Our pdns instance exited with code 1 |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Friday, 17 October 2014, 09:53 GMT
Reason for closing: Fixed
Friday, 17 October 2014, 09:53 GMT
Reason for closing: Fixed
module-dir
The default location has changed from libdir to pkglibdir. pkglibdir is defined as '$(libdir)/pdns'
The simplest solution is change module-dir in pdns.conf file to
module-dir=/usr/lib/powerdns/pdns
in PKGBUILD
option --disable-static is no longer used by configure.
option --docdir=/usr/share/doc/powerdns can be added.
in my opinion
--libdir=/usr/lib/powerdns either should be --libdir=/usr/lib
or remove --libdir and --libexecdir because /usr/lib is default
to have lib files in /usr/lib/pdns. Pdns is added to the path.