Re: undefined symbol: PQconnectdbParams

From: Sim Zacks <sim(at)compulab(dot)co(dot)il>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: undefined symbol: PQconnectdbParams
Date: 2010-08-15 09:10:28
Message-ID: 4C67AF04.7020901@compulab.co.il
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


>> When I try using createdb or createlang I get the error:
>>
>> undefined symbol: PQconnectdbParams
> It's probably finding the wrong library. Which binaries are you using?
> If you do "ldd /path/to/binary", what does it show? Maybe you need to
> set LD_LIBRARY_PATH to the "lib" directory of your new postgres install?
>
> Regards,
> Jeff Davis
That worked. I added LD_LIBRARY_PATH to my bash.profile and its working
fine now.

Thanks
Sim

In response to

Browse pgsql-general by date

  From Date Subject
Next Message zhong ming wu 2010-08-15 10:00:16 return setof : alternatives to holder table
Previous Message Alban Hertroys 2010-08-15 09:09:11 Re: InitDB: Bad system call