Re: In search of: libpgsql
On Wed, Dec 10, 2003 at 10:17:31PM -0500, Mauricio wrote:
> ldconfig -v | grep libpgsql
>
> it does not find libpgsql. How come?
The shared library just isn't called libpgsql.so, but libpq.so (that dates
back to the day when PostgreSQL was simply Postgres, I guess). How to find
out if you don't already know?
$ apt-cache search libpgsql
libpgsql2 - Shared library libpq.so.2 for PostgreSQL
postgresql-dev - Header files for libpq (postgresql library)
libpgsql-ruby - PostgreSQL extension module for programming language Ruby
netsaint-plugins-pgsql - check_pgsql plugin for NetSaint
Ok, so the package's called libpgsql2.
$ dpkg -L libpgsql2 | fgrep .so
/usr/lib/libpq++.so.4.0
/usr/lib/libpq.so.2.2
/usr/lib/libpgeasy.so.2.2
/usr/lib/libpq++.so.4
/usr/lib/libpq.so.2
/usr/lib/libpgeasy.so.2
Hurray, /usr/lib/libpq.so.2.2 and /usr/lib/libpq.so.2 are what we were
looking for.
Regards,
Markus
Reply to: