X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 77CCD53D8F for ; Sat, 30 Apr 2005 01:39:00 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 62066-04 for ; Sat, 30 Apr 2005 04:38:50 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 56BBF534A3 for ; Sat, 30 Apr 2005 01:38:49 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j3U4caqn028246; Sat, 30 Apr 2005 00:38:37 -0400 (EDT) To: "Metin Ozisik" Cc: pgsql-sql@postgresql.org Subject: Re: Build issues: "-static" builds resulting initdb problems In-reply-to: <003a01c549e4$1485eea0$3401a8c0@pengu> References: <003a01c549e4$1485eea0$3401a8c0@pengu> Comments: In-reply-to "Metin Ozisik" message dated "Mon, 25 Apr 2005 15:13:45 -0700" Date: Sat, 30 Apr 2005 00:38:36 -0400 Message-ID: <28245.1114835916@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200504/416 X-Sequence-Number: 21309 "Metin Ozisik" 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