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/