Re: Shared library major version number

1997-12-02 Thread Oliver Elphick
[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 to gcc. >Hope this helps..

Re: Shared library major version number

1997-12-02 Thread fog
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-dynamic -Wl,-rpath > -Wl,