From owner-freebsd-amd64@FreeBSD.ORG Wed Mar 31 00:07:53 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 11CA916A4CE for ; Wed, 31 Mar 2004 00:07:53 -0800 (PST) Received: from farside.isc.org (farside.isc.org [204.152.187.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAC9E43D58 for ; Wed, 31 Mar 2004 00:07:52 -0800 (PST) (envelope-from Peter_Losher@isc.org) Received: by farside.isc.org (Postfix, from userid 10188) id C45B5A84A; Wed, 31 Mar 2004 08:07:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by farside.isc.org (Postfix) with ESMTP id C151FA847 for ; Wed, 31 Mar 2004 08:07:52 +0000 (UTC) (envelope-from plosher@isc.org) Date: Wed, 31 Mar 2004 08:07:52 +0000 (UTC) From: Peter Losher To: freebsd-amd64@freebsd.org Message-ID: <20040331074508.M42491@farside.isc.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: mod_perl2 and libperl.a and -fPIC... X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2004 08:07:53 -0000 I am trying to compile mod_perl2 as a DSO on my amd64 system, and cam across this error.. -=- /usr/bin/ld: /usr/local/lib/perl5/5.6.1/mach/CORE/libperl.a(perl.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC /usr/local/lib/perl5/5.6.1/mach/CORE/libperl.a: could not read symbols: Bad value *** Error code 1 Stop in /usr/ports/www/mod_perl2/work/mod_perl-1.99_12/src/modules/perl. *** Error code 1 -=- Now as I understand it perl is built w/ -fPIC (even rebuilt the port to be sure), so is there something else at work here? Best Wishes - Peter -- Peter_Losher@isc.org | ISC | OpenPGP 0xE8048D08 | "The bits must flow"