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-patches <pgsql-patches(at)postgresql(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCHES] Fix for ODBC close
Date: 2001-02-10 11:53:44
Message-ID: Pine.LNX.4.30.0102101250580.775-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-odbc pgsql-patches

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-02-10 11:55:58 Re: Re: [PATCHES] Fix for ODBC close
Previous Message Bruce Momjian 2001-02-10 11:53:36 Open 7.1 items

Browse pgsql-odbc by date

  From Date Subject
Next Message Bruce Momjian 2001-02-10 11:55:58 Re: Re: [PATCHES] Fix for ODBC close
Previous Message Bruce Momjian 2001-02-10 11:31:12 Re: Re: [ODBC] Re: [PATCHES] Fix for ODBC closeu

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2001-02-10 11:55:58 Re: Re: [PATCHES] Fix for ODBC close
Previous Message Bruce Momjian 2001-02-10 11:31:12 Re: Re: [ODBC] Re: [PATCHES] Fix for ODBC closeu