Jaime Casanova <jcasanov@systemguards.com.ec> writes:
> On Wed, Jul 22, 2009 at 7:30 PM, Alvaro
> Herrera<alvherre@commandprompt.com> wrote:
>> Do you have an older version of libpq.so around?
> the one that installed with 8.4.0 but i thougth that when you specify
> -L to gcc you're telling it where to pick libraries from, no?
On most Linux systems, -L doesn't have any effect on what happens at
runtime --- the dynamic linker's search path will determine that.
Try "ldd" on the executable to see which shlibs really get picked up.
regards, tom lane