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,gmane.comp.gnu.libtool.bugs Subject: Re: Mac OS X .dylib not working Date: Thu, 4 Feb 2010 13:40:07 +0100 Message-ID: <470370CA-2B7D-49F3-B48C-70B0731757F9@math.su.se> References: <20100202064208.GC5651@gmx.de> <657AF3C8-764A-4DDE-918F-F1D97DA8E8EC@math.su.se> <359C630D-FEA1-4422-91B5-6FB0DFD6941D@raeburn.org> <675379A5-A6C5-4331-B82B-1E1F975C359A@math.su.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1265287230 5440 80.91.229.12 (4 Feb 2010 12:40:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Feb 2010 12:40:30 +0000 (UTC) Cc: bug-guile@gnu.org, Ken Raeburn , bug-libtool@gnu.org To: Bob Friesenhahn Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Feb 04 13:40:24 2010 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 1Nd10O-0000q4-A3 for guile-bugs@m.gmane.org; Thu, 04 Feb 2010 13:40:20 +0100 Original-Received: from localhost ([127.0.0.1]:56502 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nd10N-0008MH-Nv for guile-bugs@m.gmane.org; Thu, 04 Feb 2010 07:40:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nd10G-0008Ky-TU for bug-guile@gnu.org; Thu, 04 Feb 2010 07:40:12 -0500 Original-Received: from [199.232.76.173] (port=54968 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nd10G-0008Ko-Jn for bug-guile@gnu.org; Thu, 04 Feb 2010 07:40:12 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nd10F-0006f0-55 for bug-guile@gnu.org; Thu, 04 Feb 2010 07:40:12 -0500 Original-Received: from pne-smtpout1-sn1.fre.skanova.net ([81.228.11.98]:61667) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nd10E-0006es-QA; Thu, 04 Feb 2010 07:40:11 -0500 Original-Received: from h131n2-fre-d2.ias.bredband.telia.com (78.72.157.131) by pne-smtpout1-sn1.fre.skanova.net (7.3.140.3) (authenticated as u26619134) id 4B5C64F7001873E2; Thu, 4 Feb 2010 13:40:09 +0100 In-Reply-To: X-Mailer: Apple Mail (2.936) X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) 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:4496 gmane.comp.gnu.libtool.bugs:7248 Archived-At: On 2 Feb 2010, at 17:52, Bob Friesenhahn wrote: > Under OS-X (Leopard and later), the 'dtruss' program can be used to > see what is really going on. While at it, I found another problem involving libltdl.7.dylib, guile-1.8.7 and lilypond 2.13.7: When upgrading guile using libtool-2.2.6b, lilypond broke, the one which is in an Application distribution: /Applications/LilyPond.app/Contents/Resources/bin/guile It has its own /Applications/LilyPond.app/Contents/Resources/lib/libltdl.7.dylib However, dtruss shows that segmentation fault is caused when calling /usr/local/lib/libltdl.7.dylib When I move this to another name, then lilypond works, but dtruss now shows that it calls /usr/lib/libltdl.7.dylib So it seems lilypond never calls its own libltdl.7.dylib. The problem here, though, is the combination of incompatible versions of libltdl.7.dylib in combination with a library search path. If they really are incompatible, there seems to be no point in having a searchpath. I think that gcc on Mac OS X makes hardcoded full paths for libraries. So libtool would then implement its own library search paths. Also, it seems having no problem open .dylib files here. Hans