Re: Users and multiple server environment

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Long <mlong(at)datalong(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Users and multiple server environment
Date: 2004-10-03 22:24:35
Message-ID: 9756.1096842275@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Michael Long <mlong(at)datalong(dot)com> writes:
> ./psql template1
> ./psql: relocation error: ./psql: undefined symbol: PQsetErrorVerbosity

> Is psql linked to the proper libraries?

> ldd /usr/local/pgsql_8.0b3/bin/psql
> libpq.so.3 => /usr/lib/libpq.so.3 (0x40025000)

Obviously not :-(. This should be pointing to /usr/local/pgsql_8.0b3/lib/
so it seems you didn't do the rpath enabling correctly; or maybe your
system is configured in a way that overrides rpath (do you have
LD_LIBRARY_PATH set in your environment?).

I don't have any more advice than that to give; you may need to find a
Linux shared-library guru to help you fix it.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tsirkin Evgeny 2004-10-03 22:51:44 Re: PLEASE GOD HELP US!
Previous Message dan 2004-10-03 21:18:22 Re: Users and multiple server environment