From owner-freebsd-questions@FreeBSD.ORG Sun Oct 22 14:49:40 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B27716A407 for ; Sun, 22 Oct 2006 14:49:40 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail2.sea5.speakeasy.net (mail2.sea5.speakeasy.net [69.17.117.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB29643D46 for ; Sun, 22 Oct 2006 14:49:39 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 29879 invoked from network); 22 Oct 2006 14:49:39 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail2.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 22 Oct 2006 14:49:39 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 5A22428432; Sun, 22 Oct 2006 10:49:38 -0400 (EDT) To: Klaus Friis =?iso-8859-1?Q?=D8stergaard?= References: <96378F16C69F7C458EB12A666948A39C05CF19@mail01.lasertech.intern> From: Lowell Gilbert Date: Sun, 22 Oct 2006 10:49:38 -0400 In-Reply-To: <96378F16C69F7C458EB12A666948A39C05CF19@mail01.lasertech.intern> (Klaus Friis =?iso-8859-1?Q?=D8stergaard's?= message of "Fri, 20 Oct 2006 15:41:40 +0200") Message-ID: <44wt6ss8vx.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Howto recompile libgnome-keyring with -fPIC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Oct 2006 14:49:40 -0000 Klaus Friis =D8stergaard writes: > I get this error when trying to install Firefox: >=20=20 > /usr/bin/ld: /usr/X11R6/lib/libgnome-keyring.a(gnome-keyring.o): relocati= on R_X86_64_32 can not be used when making a shared object; recompile with = -fPIC > > /usr/X11R6/lib/libgnome-keyring.a: could not read symbols: Bad value > How do I recompile libgnome-keyring with the -fPIC compiler flags set? > Is it possible to use the portupgrade to force a recomiplation with the r= ight settings? The port doesn't have a knob for doing that. I don't know why the linker is having problems; there shouldn't be anything special about architecture here. Perhaps you're running 32-bit libraries on a 64-bit system? Normally I would recommend talking to the port maintainer, but you obviously have outdated ports.