Re: Solaris ODBC - linker flag needs to be set when building shared objects - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: Solaris ODBC - linker flag needs to be set when building shared objects
Date
Msg-id Pine.LNX.4.30.0012132006290.1277-100000@peter.localdomain
Whole thread Raw
In response to Solaris ODBC - linker flag needs to be set when building shared objects  (pgsql-bugs@postgresql.org)
List pgsql-bugs
> Mike McDonough (mpm@goldwiretech.com) reports a bug with a severity of 2

> Solaris ODBC - linker flag needs to be set when building shared objects

> Long Description

> Linker flag which needs to be set when building shared objects to
> prevent a symbol in the executable overriding one in the shared
> object: '-Bsymbolic' needs to be set in Makefile.shlib. This flag is
> set for linux builds, but not for solaris.

> #+++rwhit, 12/12/00 added -Bsymbolic to fix SQLPrimaryKeys() - it's calls
> #                   to other SQL*() functions were being resolved by
> #                   the driver manager versions rather than the pgsql
> #                   versions

Can you explain why this flag is needed?  What call is getting resolved
how and how should it have been resolved?  Since this flag is only
portable to ELF systems the problem should really be fixed some other way.

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

pgsql-bugs by date:

Previous
From: Hiroshi Inoue
Date:
Subject: Re: plpgsql function error after alter table add
Next
From: Andriy Rozeluk
Date:
Subject: setQueryTimeout in JDBC driver seems unimplemented