From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.lisp.guile.user Subject: Re: [d.love@dl.ac.uk: dynamic loading of native code modules] Date: Wed, 24 Apr 2002 15:40:12 -0500 Sender: guile-user-admin@gnu.org Message-ID: References: <87ads6nf1v.fsf@zagadka.ping.de> <87it6s7sjz.fsf@alice.rhinosaur.lan> <87662hkvya.fsf@raven.i.defaultvalue.org> <20020424145130.GC17392@www> <87y9fd5dsj.fsf@alice.rhinosaur.lan> <87vgahjdwc.fsf@raven.i.defaultvalue.org> <87sn5l55us.fsf@alice.rhinosaur.lan> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1019680962 5997 127.0.0.1 (24 Apr 2002 20:42:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 24 Apr 2002 20:42:42 +0000 (UTC) Cc: guile-devel@gnu.org, guile-user@gnu.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 170Tb8-0001Yc-00 for ; Wed, 24 Apr 2002 22:42:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 170TaZ-00071O-00; Wed, 24 Apr 2002 16:42:07 -0400 Original-Received: from dsl-209-87-109-2.constant.com ([209.87.109.2] helo=defaultvalue.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 170TYj-0006vD-00; Wed, 24 Apr 2002 16:40:13 -0400 Original-Received: from raven.i.defaultvalue.org (raven.i.defaultvalue.org [192.168.1.7]) by defaultvalue.org (Postfix) with ESMTP id E1B0CA126; Wed, 24 Apr 2002 15:40:12 -0500 (CDT) Original-Received: by raven.i.defaultvalue.org (Postfix, from userid 1000) id BC0222ECE; Wed, 24 Apr 2002 15:40:12 -0500 (CDT) Original-To: Andreas Rottmann In-Reply-To: <87sn5l55us.fsf@alice.rhinosaur.lan> (Andreas Rottmann's message of "24 Apr 2002 20:06:19 +0200") Original-Lines: 21 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-debian-linux-gnu) Errors-To: guile-user-admin@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.user:295 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:295 Andreas Rottmann writes: > No, here we talk about extension .so files, don't we? These are > loaded via libltdl (which has ugly error messages, by the way) and > thus one can specify the directory to load the lib from. Current policy is that guile's extension libs are also to be dynamically linkable directly into applications. This means that lt_dlopen is not the only way they're loaded. Hence the need for LD_LIBRARY_PATH or similar. i.e. if you write an app that uses scm_make_u8vector from srfi-4, then you have to "-l link" against libguilesrfi-srfi4. For your app to ru, libguilesrfi-srfi4 will have to either have an appropriate rpath, an appropriate LD_LIBRARY_PATH, or be in one of the standard locations. -- Rob Browning rlb @defaultvalue.org, @linuxdevel.com, and @debian.org Previously @cs.utexas.edu GPG=1C58 8B2C FB5E 3F64 EA5C 64AE 78FE E5FE F0CB A0AD _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user