From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bruce Korb Newsgroups: gmane.lisp.guile.devel,gmane.comp.gnu.libtool.general Subject: Re: How does one specify linking to 64 bit libraries when there is a choice? Date: Fri, 17 Dec 2010 09:31:23 -0800 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1292607115 32127 80.91.229.12 (17 Dec 2010 17:31:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 17 Dec 2010 17:31:55 +0000 (UTC) Cc: Libtool List , Guile Development To: "Nelson H. F. Beebe" Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Dec 17 18:31:50 2010 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PTe9l-00019Y-L0 for guile-devel@m.gmane.org; Fri, 17 Dec 2010 18:31:49 +0100 Original-Received: from localhost ([127.0.0.1]:48625 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTe9k-0003H2-TB for guile-devel@m.gmane.org; Fri, 17 Dec 2010 12:31:48 -0500 Original-Received: from [140.186.70.92] (port=51860 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTe9d-0003Gx-Ni for guile-devel@gnu.org; Fri, 17 Dec 2010 12:31:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PTe9c-00086N-4Z for guile-devel@gnu.org; Fri, 17 Dec 2010 12:31:41 -0500 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:35427) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PTe9b-00086G-W6; Fri, 17 Dec 2010 12:31:40 -0500 Original-Received: by iyj17 with SMTP id 17so650517iyj.0 for ; Fri, 17 Dec 2010 09:31:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=WKM1Giljjh4wB6qOPj+bMmIrH8332aqV6cb0V767mO8=; b=H8POHG+uoHo8rt3A3b/THh3kqvCWv+34v715fKRV5B3+aWdhwlRCYtonTaC4rTKAs6 UsEb8C7rkRYbhSESVvyXo5yAHuqr2GgMi12O7/fLijD9UabNY0udeQSL+EStfOKXz8O+ j20YJxsetFObnHdzydQDEvPi9dacy6g/3wi9o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=UrLC72/t9wvl5abBSDYOXj4H9leKV4bgTcoWF7zVjE9Q6VIBsu9AlVgnwk3mGx1wAK xvisCOwcnzplmNbTZ5IXQgc2PLCnfHpdvHh5lR7x0ut5h0RaLp5SLB0kNkzrJ9fwdxSl WmDjvOEPtRanzkdj7WxGBpsVu+A9w7bOPg0gI= Original-Received: by 10.231.149.194 with SMTP id u2mr1080949ibv.32.1292607099154; Fri, 17 Dec 2010 09:31:39 -0800 (PST) Original-Received: by 10.231.191.14 with HTTP; Fri, 17 Dec 2010 09:31:23 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:11255 gmane.comp.gnu.libtool.general:11324 Archived-At: Hi Nelson, On Fri, Dec 17, 2010 at 9:09 AM, Nelson H. F. Beebe w= rote: > The recent exchanges about the /usr/local/lib vs /usr/local/lib64 > problem with libtool + autogen + guile gave me a critical clue. =A0I > examined all of the /usr/local/lib64/*.la files, and found dozens that > mention (incorrectly) /usr/local/lib. > > A couple of passes with "sed -i" scripts repaired them, and I was then > able to build guile-1.8.8 successfully on GNU/Linux AMD64 with Red Hat > 5.5, but there are still socket test failures on Red Hat 4.8 that may > be a separate issue. One final question, what does the output of `guile-config link` say after you have fiddled the libguile.la file? If you have it newly installed on your down machine "abajo" then there is still a problem: abajo_guile $ /usr/local/bin/guile-config link -pthread -L/usr/local/lib -lguile -lltdl -L/usr/local/lib64 \ -Wl,-rpath,/usr/local/lib64 -lgmp -lcrypt -lm -lltdl The one in /usr/bin seems insufficient and it is not at the head of the PATH list abajo_guile $ /usr/bin/guile-config link -pthread -lguile The versions: abajo_guile $ which -a guile /usr/local/bin/guile /usr/bin/guile abajo_guile $ for f in $(which -a guile);do $f --version|head -1;done Guile 1.8.8 Guile 1.8.0