Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

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
Comment by Filip (mezcal) - Wednesday, 08 October 2014, 09:49 GMT
According to http://doc.powerdns.com/html/from3.3.1to3.4.0.html#from3.3.1to3.4.0-options

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
Comment by Filip (mezcal) - Wednesday, 08 October 2014, 10:15 GMT
I think the config file pdns.conf should be recreated from pdns.conf-dist. There are changes from 3.3.1 .

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.


Comment by Alexander F. Rødseth (xyproto) - Thursday, 09 October 2014, 09:53 GMT
Thanks for reporting! I will fix this.
Comment by Alexander F. Rødseth (xyproto) - Thursday, 16 October 2014, 12:33 GMT
The updated package will appear in [community] shortly. Please confirm that the new version works as expected. Thanks.
Comment by Alexander F. Rødseth (xyproto) - Friday, 17 October 2014, 09:53 GMT
Closing this one, please re-open if there should be further issues with this.

Loading...