From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dev.admin@ntlworld.com Newsgroups: gmane.lisp.guile.user Subject: Re: [darwin] building shared libraries (.so) instead of dynamic libraries. Date: Sat, 4 Dec 2010 14:10:26 +0000 Message-ID: <3381206F-7B0D-4DF6-8FD4-34F17CE1E1A7@ntlworld.com> References: <CD1D248F-C0F3-4AE1-A39B-0E75F4A74E65@ntlworld.com> <m3pqvrin7f.fsf@unquote.localdomain> 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: dough.gmane.org 1291471848 24270 80.91.229.12 (4 Dec 2010 14:10:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 4 Dec 2010 14:10:48 +0000 (UTC) Cc: guile-user@gnu.org To: Andy Wingo <wingo@pobox.com> Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Dec 04 15:10:42 2010 Return-path: <guile-user-bounces+guile-user=m.gmane.org@gnu.org> Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from <guile-user-bounces+guile-user=m.gmane.org@gnu.org>) id 1POsot-0004GW-G6 for guile-user@m.gmane.org; Sat, 04 Dec 2010 15:10:36 +0100 Original-Received: from localhost ([127.0.0.1]:53575 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POsot-00033v-0U for guile-user@m.gmane.org; Sat, 04 Dec 2010 09:10:35 -0500 Original-Received: from [140.186.70.92] (port=38589 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POsop-00033l-Jr for guile-user@gnu.org; Sat, 04 Dec 2010 09:10:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <dev.admin@ntlworld.com>) id 1POsoo-0000WA-JJ for guile-user@gnu.org; Sat, 04 Dec 2010 09:10:31 -0500 Original-Received: from mtaout01-winn.ispmail.ntl.com ([81.103.221.47]:25585) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <dev.admin@ntlworld.com>) id 1POsoo-0000Vm-AU for guile-user@gnu.org; Sat, 04 Dec 2010 09:10:30 -0500 Original-Received: from aamtaout04-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20101204141028.YUSW26766.mtaout01-winn.ispmail.ntl.com@aamtaout04-winn.ispmail.ntl.com>; Sat, 4 Dec 2010 14:10:28 +0000 Original-Received: from cpc8-pete9-2-0-cust178.4-4.cable.virginmedia.com ([86.30.242.179]) by aamtaout04-winn.ispmail.ntl.com (InterMail vG.3.00.04.00 201-2196-133-20080908) with ESMTP id <20101204141028.FVWP25656.aamtaout04-winn.ispmail.ntl.com@cpc8-pete9-2-0-cust178.4-4.cable.virginmedia.com>; Sat, 4 Dec 2010 14:10:28 +0000 In-Reply-To: <m3pqvrin7f.fsf@unquote.localdomain> X-Mailer: Apple Mail (2.936) X-Cloudmark-Analysis: v=1.1 cv=X0sWjjQ37bMP4yB/pNNinY3VxVB2n/hmdAjhihaCFGs= c=1 sm=0 a=fM7YohWR99kA:10 a=kj9zAlcOel0A:10 a=NLZqzBF-AAAA:8 a=47DZMwd0AAAA:8 a=JUo6gAK5aGiX7XdxGocA:9 a=SxTQNabx8qKAnR89LzEA:7 a=67mUH7zVHFLAeMsnafMSZpI_K80A:4 a=CjuIK1q_8ugA:10 a=_dQi-Dcv4p4A:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions <guile-user.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/guile-user>, <mailto:guile-user-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/archive/html/guile-user> List-Post: <mailto:guile-user@gnu.org> List-Help: <mailto:guile-user-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/guile-user>, <mailto:guile-user-request@gnu.org?subject=subscribe> Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:8291 Archived-At: <http://permalink.gmane.org/gmane.lisp.guile.user/8291> Hey guys, After getting round to testing some other EV, it does turn out to be the DYLD_LIBRARY_PATH variable that points to the shared .so libs. I thought it had to end in .dylib for it to work but it seems to work with .so libs as well. Thanks for your help. A. On 3 Oct 2010, at 11:29, Andy Wingo wrote: > On Fri 01 Oct 2010 16:24, dev.admin@ntlworld.com writes: > >> Andy, >> >> The version is 1.8.7 and the i've installed >> it into /usr/local/gnu/lib. > > Is /usr/local/gnu/lib in your equivalent of $LD_LIBRARY_PATH? I know > that darwin has something different, but I don't know what it is. > > Andy > -- > http://wingolog.org/ On 3 Oct 2010, at 17.06, Hans Aberg Wrote: Mac OS X 10.5.8: /usr/local/lib/libguile-srfi-srfi-1-v-3.3.dylib In the past, there was the problem that it could not open dynamic libraries ending on .dylib - had to be .so. Guile calls libtools that is doing these lookups.