On Thu, Aug 26, 2010 at 2:48 PM, Guillaume Lelarge
<guillaume@lelarge.info> wrote:
> Le 26/08/2010 07:35, Ramanujam a écrit :
> I'm pretty sure you have an old libpq library around, and that pgAdmin
> uses this one. Be careful that libpq is a different package on Ubuntu (I
> mean, not a postgresql-*, but a libpq*). Try "ldd $(which pgadmin3) |
> grep libpq" to find which one library file it uses.
>
> To launch pgAdmin, you can try this on a terminal:
>
> export LD_LIBRARY_PATH=/usr/local/pgsql/lib:$LD_LIBRARY_PATH
> pgadmin3
>
> After the export, if /usr/local/pgsql is the location of your 8.4
> PostgreSQL binaires, then pgAdmin should connect to your databases if
> you launch if from the same terminal.
You were right. There was an old libpq that was getting referred to
ahead of the intended one.
Works great now. Thanks.