From owner-freebsd-questions@FreeBSD.ORG Tue Jun 24 01:33:11 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFE3E1065673 for ; Tue, 24 Jun 2008 01:33:11 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from bulwark.hamla.org (bulwark.hamla.org [69.55.228.210]) by mx1.freebsd.org (Postfix) with ESMTP id CD3E08FC17 for ; Tue, 24 Jun 2008 01:33:11 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from localhost (bulwark [69.55.228.210]) by bulwark.hamla.org (Postfix) with ESMTP id 84F6C1CD7E; Mon, 23 Jun 2008 18:33:11 -0700 (PDT) X-Virus-Scanned: by ClamAV at bulwark.hamla.org Received: from bulwark.hamla.org ([69.55.228.210]) by localhost (bulwark.hamla.org [69.55.228.210]) (amavisd-new, port 10024) with LMTP id jmV1ZrGQhgZO; Mon, 23 Jun 2008 18:33:09 -0700 (PDT) Date: Mon, 23 Jun 2008 21:33:05 -0400 From: Sahil Tandon To: kalin m Message-ID: <20080624013305.GA11864@shepherd> Mail-Followup-To: kalin m , mysql@lists.mysql.com, freebsd-questions@freebsd.org References: <486047F4.1080505@el.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <486047F4.1080505@el.net> Cc: mysql@lists.mysql.com, freebsd-questions@freebsd.org Subject: Re: mysql 5.0.51b and ssl 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: Tue, 24 Jun 2008 01:33:12 -0000 kalin m wrote: > i just installed openssl 0.9.8h and trying to build mysql 5.0.51b with it > on a freebsd 7 machine. i get this: > > /usr/bin/ld: /usr/local/ssl/lib/libssl.a(t1_srvr.o): relocation R_X86_64_32 > can not be used when making a shared object; recompile with -fPIC > /usr/local/ssl/lib/libssl.a: could not read symbols: Bad value > > any ideas? You have a 64-bit system, yes? Try recompiling OpenSSL with the appropriate CFLAGS as suggested in the error output. Google portions of what you pasted above for more background on this issue. -- Sahil Tandon