Red Hat Bugzilla – Bug 617235
ERROR: could not load library "/usr/lib64/pgsql/dblink.so"
Last modified: 2013-07-02 23:31:48 EDT
Description of problem:
If new openldap package is pushed out postgresql/dblink ( contrib )needs to be rebuild against that package!
ERROR: could not load library "/usr/lib64/pgsql/dblink.so": /usr/lib64/libldap_r-2.4.so.2: undefined symbol: ber_sockbuf_io_udp
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. update to newer version than openldap-2.4.21-6.fc13.x86_64
2. psql db -U user < /usr/share/pgsql/contrib/dblink.sql
Thinks to work normally.
Openldap and postgres maintainers need to communicate better together so when openldap updated postgresql packages can be rebuild against that update.
workaround downgrade to openldap-2.4.21-6.fc13.x86_64
Try restarting your postgresql server. I'm not sure why the recent update to the ldap libraries necessitates that, but other people have reported that restarting the postmaster fixes this problem.
Closing as NOTABUG (or at least, it wasn't a postgresql bug)