Re: Re: [PATCHES] Fix for ODBC close - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Re: [PATCHES] Fix for ODBC close
Date
Msg-id Pine.LNX.4.30.0102101323510.775-100000@peter.localdomain
Whole thread Raw
In response to Re: Re: [PATCHES] Fix for ODBC close  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Re: [PATCHES] Fix for ODBC close
List pgsql-hackers
Bruce Momjian writes:

> I just tried gcc and got:
>
> #$ gcc -shared -soname libpsqlodbc.so.0 -Bsymbolic info.o bind.o
> columninfo.o connection.o convert.o drvconn.o environ.o execute.o lobj.o
> misc.o options.o pgtypes.o psqlodbc.o qresult.o results.o socket.o
> parse.o statement.o gpps.o tuple.o tuplelist.o dlg_specific.o
> -L/usr/local/lib -L/usr/contrib/lib -lm -o libpsqlodbc.so.0.26
> gcc: unrecognized option `-soname'
> gcc: file path prefix `symbolic' never used

Try gcc -shared -Wl,-soname,libpsqlodbc.so.0 -Wl,-Bsymbolic ...

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [GENERAL] MySQL -> Postgres dump converter
Next
From: "Hiroshi Inoue"
Date:
Subject: RE: Re: pg_ctl default shutdown mode