[EMAIL PROTECTED] wrote:
>On 2 Dic, Oliver Elphick wrote:
>> How do I get gcc to link in the shared library major version number?
>>...
>You do the right thing. It's libpq.so.1 that is faulty. When you build
>it you should give the -Wl,-soname,libpq.so.1 flag
On 2 Dic, Oliver Elphick wrote:
> How do I get gcc to link in the shared library major version number?
>
> I get this:
> gcc -o psql -L../../interfaces/libpq psql.o stringutils.o -lpq -lcrypt
> -ldld
> -lnsl -ldl
> -lm -lreadline -lhistory -lcurses -export-dyna
How do I get gcc to link in the shared library major version number?
I get this:
gcc -o psql -L../../interfaces/libpq psql.o stringutils.o -lpq -lcrypt -ldld
-lnsl -ldl
-lm -lreadline -lhistory -lcurses -export-dynamic -Wl,-rpath
-Wl,/usr/lib/postgresql/lib
linda:/usr/src
3 matches
Mail list logo