Re: Re: [PATCHES] Fix for ODBC close

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL odbc list <pgsql-odbc(at)postgresql(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: [PATCHES] Fix for ODBC close
Date: 2001-02-10 12:25:10
Message-ID: Pine.LNX.4.30.0102101323510.775-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-odbc pgsql-patches

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(at)gmx(dot)net http://yi.org/peter-e/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hiroshi Inoue 2001-02-10 14:21:37 RE: [PATCHES] Re: [HACKERS] 6.2 protocol
Previous Message Bruce Momjian 2001-02-10 12:03:19 Re: [GENERAL] MySQL -> Postgres dump converter

Browse pgsql-odbc by date

  From Date Subject
Next Message Hiroshi Inoue 2001-02-10 14:21:37 RE: [PATCHES] Re: [HACKERS] 6.2 protocol
Previous Message Bruce Momjian 2001-02-10 11:55:58 Re: Re: [PATCHES] Fix for ODBC close

Browse pgsql-patches by date

  From Date Subject
Next Message Hiroshi Inoue 2001-02-10 14:21:37 RE: [PATCHES] Re: [HACKERS] 6.2 protocol
Previous Message Bruce Momjian 2001-02-10 11:55:58 Re: Re: [PATCHES] Fix for ODBC close