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

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

> > The -Bsymbolic switch is the same on all platforms that have it.  You can
> > link without it, but then you won't actually be able to use the ODBC
> > driver.  It seems like you need to link in a few other libraries to
> > resolve all symbols.
>
> OK, if this is true on all platforms, why isn't -lc needed?

Theory 1:  Many other platforms use the compiler driver ([g]cc) to link
shared libraries.  That makes all the right things happen.  Most likely
this should happen on a lot more platforms that currently use ld directly.

Theory 2:  Not many people have tried to build the ODBC driver on
non-mainstream platforms.

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


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Re: [ODBC] Re: [PATCHES] Fix for ODBC closeu
Next
From: Bruce Momjian
Date:
Subject: Open 7.1 items