[Pdns-users] Error While loading shared libraries: libpq.so.5: Cannot open shared object

Leen Besselink leen at wirehub.nl
Sun Nov 16 10:03:47 UTC 2008

On Sun, Nov 16, 2008 at 11:50:53AM +0700, BORIN HY/WiCAM wrote:
> Dear All,

Hi you,

> I just download the latest release of power dns rpm and install it on my the Fedora core 9.
> When I do the try to start power dns, I got the following error.
> $/etc/init.d/pdns start
> Starting PowerDNS authoritative nameserver: /usr/sbin/pdns_server: error while loading shared libraries: libpq.so.5: cannot open shared object file: No such file or directory
> Please advice what should I do in order to fix this problem.

I know pretty much nothing about any other distribution except for Debian (based), but libpq.so.5 is a PostgreSQL-client library.

This is what I have on my Ubuntu-desktop-machine:

leen at ubuntu:~$ dpkg -S libpq.so.5
libpq5: /usr/lib/libpq.so.5
libpq5: /usr/lib/libpq.so.5.1
leen at ubuntu:~$ dpkg -s libpq5
Package: libpq5
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 872
Maintainer: Martin Pitt <martin.pitt at ubuntu.com>
Architecture: i386
Source: postgresql-8.3
Version: 8.3.4-2.2
Depends: libc6 (>= 2.4), libcomerr2 (>= 1.01), libkrb53 (>= 1.6.dfsg.2), libldap-2.4-2 (>= 2.4.7), libssl0.9.8 (>= 0.9.8f-5)
Description: PostgreSQL C client library
 libpq is a C library that enables user programs to communicate with
 the PostgreSQL database server.  The server can be on another machine
 and accessed through TCP/IP.  This version of libpq is compatible
 with servers from PostgreSQL 8.2 or later.
 This package contains the run-time library, needed by packages using
 PostgreSQL is an object-relational SQL database management system.
Original-Maintainer: Martin Pitt <mpitt at debian.org>

I hope this helps.

If you know what package you needed to install to get it work, post it here so it's saved in the archives and people don't need to ask about it again.

Have a nice day,
	Leen Besselink.

> Thanks & regards,
> Borin
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users

More information about the Pdns-users mailing list