pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Metin Ozisik <metin@evincetek.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Build issues: "-static" builds resulting initdb problems
Date: Sat, 30 Apr 2005 00:38:36 -0400
Message-ID: <28245.1114835916@sss.pgh.pa.us> (raw)
In-Reply-To: <003a01c549e4$1485eea0$3401a8c0@pengu>
References: <003a01c549e4$1485eea0$3401a8c0@pengu>

"Metin Ozisik" <metin@evincetek.com> writes:
> Build time parameter: CFLAGS="-static" ./configure

Is there a particular reason for you to be doing that?

>     creating conversions ... FATAL: could not load library =
> "../ascii_and_misc.so": ../../ascii_and_misc.so: undefined symbol: =
> pg_mic2ascii

pg_mic2ascii is a function exported by the core backend.  I suppose
that "-static" is somehow suppressing the visibility of that symbol
to the dynamically loaded library ascii_and_misc.so.  I am not sure
whether this indicates a dynamic loader bug, or whether it's a case
of "so don't do that then" ... but in any case I don't think it's
a Postgres bug.

			regards, tom lane



view thread (5+ messages)  latest in thread

Message-ID: <28245.1114835916@sss.pgh.pa.us>
Permalink:  ../28245.1114835916@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28245.1114835916@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, metin@evincetek.com
  Subject: Re: Build issues: "-static" builds resulting initdb problems
  In-Reply-To: <28245.1114835916@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox