Re: Re: [PATCHES] Fix for ODBC close

Bruce Momjian <pgman@candle.pha.pa.us>

From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: PostgreSQL odbc list <pgsql-odbc@postgresql.org>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2001-02-10T17:01:23Z
Lists: pgsql-hackers
> You can't hardcode "gcc" like that.  I've committed some fixes that should
> work for you.  Please try them out.  Also try to build libpq++.
> 
> > It seems the -Bsymbolic needs the gcc, while other links are OK with ld.
> > We may find this is true on many platforms.
> 
> -Bsymbolic requires all symbols in the library to be resolvable at link
> time.  If you use 'ld' then you will need to provide all the appropriate
> files yourself.  The compiler driver normally does that automatically.
> 

Great.  I see you modified Makefile.bsdi to properly know it is being
used with gcc, and modified Makefile.shlib.  Perfect.

Should other platforms have this fix too?  We didn't need it before
-Bsymbolic, but it seems it would be safe to do for FreeBSD and a few
others.


-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026