From owner-freebsd-questions Thu Oct 2 21:01:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA14374 for questions-outgoing; Thu, 2 Oct 1997 21:01:49 -0700 (PDT) Received: from dfw-ix12.ix.netcom.com (dfw-ix12.ix.netcom.com [206.214.98.12]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA14361 for ; Thu, 2 Oct 1997 21:01:44 -0700 (PDT) Received: (from smap@localhost) by dfw-ix12.ix.netcom.com (8.8.4/8.8.4) id XAA25156 for ; Thu, 2 Oct 1997 23:01:06 -0500 (CDT) Message-Id: <199710030401.XAA25156@dfw-ix12.ix.netcom.com> Received: from sjx-ca52-07.ix.netcom.com(206.214.103.199) by dfw-ix12.ix.netcom.com via smap (V1.3) id rma025137; Thu Oct 2 23:00:34 1997 From: "Robin Walsh" To: Subject: shared libraries Date: Thu, 2 Oct 1997 21:00:56 -0700 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1161 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hello, I have been pulling my hair out trying to get the latest version of libstdc++.so.2.7.2. However, I keep getting this error when it is linking: ld: exceptioni.o: relocation must refer to global symbol at 0x27f It is trying to link the files in the pic/ directory. However, when I try to do: ld -Bshareable -o libstdc++.so.2.7.2 from the libstdc++ directory (i.e. code compiled without the -fpic option), it seems to make this shared library no problem (although, I do not know if it works yet). Any ideas about what is doing on? Thanks. Robin. rtwalsh@ix.netcom.com