Skip site navigation (1) Skip section navigation (2)

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

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: <mpm(at)goldwiretech(dot)com>, <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Solaris ODBC - linker flag needs to be set when building shared objects
Date: 2000-12-13 19:09:17
Message-ID: Pine.LNX.4.30.0012132006290.1277-100000@peter.localdomain (view raw or flat)
Thread:
Lists: pgsql-bugs
> Mike McDonough (mpm(at)goldwiretech(dot)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(at)gmx(dot)net       http://yi.org/peter-e/


In response to

pgsql-bugs by date

Next:From: Andriy RozelukDate: 2000-12-14 00:02:44
Subject: setQueryTimeout in JDBC driver seems unimplemented
Previous:From: Hiroshi InoueDate: 2000-12-13 00:21:06
Subject: Re: plpgsql function error after alter table add

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group