Thread: libpq.so full name?

libpq.so full name?

From
"surabhi.ahuja"
Date:
 hi
I had Postgres 8.0.0 installed on my m/c and
now i have installed Postgresql 8.1.4 (FC 4) x86 , 64 bit arch.
 
i rebuild my executable giving -L$(ROOT)/postgres/lib/ -lpq
 
the directory $(ROOT)/postgres/lib
contains libpq.so with size = 133320
 
it gives an error (linking error i think),
howver if i rename the above file to libpq.so.3 then it works fine.
What is this behaviour?
 
 
thanks,
regards
Surabhi
 
 
 
 

Re: libpq.so full name?

From
Martijn van Oosterhout
Date:
On Tue, Nov 14, 2006 at 07:54:30PM +0530, surabhi.ahuja wrote:
>  hi
> I had Postgres 8.0.0 installed on my m/c and
> now i have installed Postgresql 8.1.4 (FC 4) x86 , 64 bit arch.
>
> i rebuild my executable giving -L$(ROOT)/postgres/lib/ -lpq
>
> the directory $(ROOT)/postgres/lib
> contains libpq.so with size = 133320
>
> it gives an error (linking error i think),
> howver if i rename the above file to libpq.so.3 then it works fine.
> What is this behaviour?

Please provide the exact commandline you're running and the exact error
message.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Attachment