From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hans Aberg Newsgroups: gmane.lisp.guile.bugs Subject: Re: guile-2.0.0 crash when started on MacOS X 10.6.0 Date: Mon, 7 Mar 2011 11:48:01 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1299495695 18031 80.91.229.12 (7 Mar 2011 11:01:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 7 Mar 2011 11:01:35 +0000 (UTC) Cc: bug-guile@gnu.org, Steven Wu To: Andy Wingo Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Mon Mar 07 12:01:30 2011 Return-path: Envelope-to: guile-bugs@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 1PwYBr-0003zP-0K for guile-bugs@m.gmane.org; Mon, 07 Mar 2011 12:01:27 +0100 Original-Received: from localhost ([127.0.0.1]:45212 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwXzC-0006Kh-Ev for guile-bugs@m.gmane.org; Mon, 07 Mar 2011 05:48:22 -0500 Original-Received: from [140.186.70.92] (port=46563 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwXz2-0006Is-Hi for bug-guile@gnu.org; Mon, 07 Mar 2011 05:48:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwXz0-0001vL-QK for bug-guile@gnu.org; Mon, 07 Mar 2011 05:48:12 -0500 Original-Received: from smtp-out12.han.skanova.net ([195.67.226.212]:50828) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwXz0-0001uu-EI for bug-guile@gnu.org; Mon, 07 Mar 2011 05:48:10 -0500 Original-Received: from [10.0.1.2] (217.210.127.13) by smtp-out12.han.skanova.net (8.5.133) (authenticated as u26619196) id 4D6515440033942E; Mon, 7 Mar 2011 11:48:03 +0100 In-Reply-To: X-Mailer: Apple Mail (2.1082) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 195.67.226.212 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:5301 Archived-At: On 6 Mar 2011, at 11:02, Andy Wingo wrote: >> I stopped in the function, and it seems to be correct. I checked to = the >> map, and the value was right, it wasn't NULL. I tried to stop in = strncmp >> and see what that parameters were. Wasn't very successful the first >> tried. I haven't used gdb for a while, and need to refresh it. >=20 > The solution is to use GNU readline, not the editline-based thing that > Apple ships. The funny thing, though, is that when readline installs in = /usr/local/lib/, it seems it ends up at the end of the library search = path; 'man ld' says: Search paths ld maintains a list of directories to search for a library or = framework to use. The default library search path is /usr/lib then = /usr/local/lib. The -L option will add a new library search path. I am not sure how to interpret this: I think that -L actually adds the = new directories at end of the search path, whereas -I adds them at the = beginning. That seems anyway to be the case with /usr/local/lib/ = searched after /usr/lib/. I have though checked that on my system, guile-2.0.0 links dynamically = to /usr/local/lib/libreadline.6.1.dylib and not to libreadline.6.dylib or libreadline.6.dylib. Hans