From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludovic.courtes@laas.fr (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.user Subject: Re: Managing Guile and extensions versions Date: Fri, 30 Sep 2005 10:00:01 +0200 Organization: LAAS-CNRS Message-ID: <87ll1frnni.fsf@laas.fr> References: <6efab235050925145055ba774c@mail.gmail.com> <873bns2f26.fsf@laas.fr> <6efab2350509261220665afe20@mail.gmail.com> <87br2ezyth.fsf@laas.fr> <6efab235050927035441b39b85@mail.gmail.com> <874q86qzuk.fsf@laas.fr> <6efab235050927101826b2da7d@mail.gmail.com> <87d5mtis5l.fsf_-_@laas.fr> <87y85fpl60.fsf@zip.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1128073111 21105 80.91.229.2 (30 Sep 2005 09:38:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 30 Sep 2005 09:38:31 +0000 (UTC) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Sep 30 11:38:21 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ELHJi-0003Y5-Oa for guile-user@m.gmane.org; Fri, 30 Sep 2005 11:36:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ELHJc-00072V-TX for guile-user@m.gmane.org; Fri, 30 Sep 2005 05:36:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ELGEg-0000L2-Fj for guile-user@gnu.org; Fri, 30 Sep 2005 04:27:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ELGDp-0000EP-Vw for guile-user@gnu.org; Fri, 30 Sep 2005 04:26:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ELFwv-0006zi-8T for guile-user@gnu.org; Fri, 30 Sep 2005 04:08:59 -0400 Original-Received: from [140.93.0.15] (helo=laas.laas.fr) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1ELFqB-0002TQ-Mp for guile-user@gnu.org; Fri, 30 Sep 2005 04:02:00 -0400 Original-Received: by laas.laas.fr (8.13.1/8.13.4) with SMTP id j8U81ttr028258; Fri, 30 Sep 2005 10:01:56 +0200 (CEST) Original-To: guile-user@gnu.org X-URL: http://www.laas.fr/~lcourtes/ X-Revolutionary-Date: 9 =?iso-8859-1?Q?Vend=E9miaire?= an 214 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEB1F5364 X-PGP-Key: http://www.laas.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 821D 815D 902A 7EAB 5CEE D120 7FBA 3D4F EB1F 5364 X-OS: powerpc-unknown-linux-gnu Mail-Followup-To: guile-user@gnu.org In-Reply-To: <87y85fpl60.fsf@zip.com.au> (Kevin Ryde's message of "Fri, 30 Sep 2005 08:24:23 +1000") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) X-Spam-Score: 0.496 () MAILTO_TO_SPAM_ADDR X-Scanned-By: MIMEDefang at CNRS-LAAS X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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:4802 Archived-At: Hi, Kevin Ryde writes: > Remember if you want to call a C code module directly from a C > mainline then you need something the ordinary loader can cope with > too. > > (If setting up something clean and portable for this stuff was easy it > would have already been done.) You're talking about loading the right version of shared library, right? In fact, Libtool's versioning mechanism already makes this possible for programs: the loader and/or dynamic linker chooses the one version of the library the program expects to be linked against. As for the `dlopen' equivalent to this, intuitively, I can't think of any reason not to allow this (my understanding of the problem might be too poor though). For instance, `dlopen ("/lib/mylib.so.2.3.4")' does load a specific version of the lib, but in a non-portable and unclear way. `libltdl' could provide a higher-level, portable API to do such things. But again, we're getting a bit off-topic. ;-) (However, I'd be glad to hear your thoughts about adding support for versioning to Guile's module system.) Thanks, Ludovic. _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user