[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Managing Guile and extensions versions
From: |
Ludovic Courtès |
Subject: |
Re: Managing Guile and extensions versions |
Date: |
Fri, 30 Sep 2005 10:00:01 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) |
Hi,
Kevin Ryde <address@hidden> 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.
- Re: Exceptions, (continued)
- Re: Exceptions, Ludovic Courtès, 2005/09/27
- Re: Exceptions, Vorfeed Canal, 2005/09/27
- Re: Exceptions, Ludovic Courtès, 2005/09/27
- Re: Exceptions, Vorfeed Canal, 2005/09/27
- Managing Guile and extensions versions, Ludovic Courtès, 2005/09/28
- Re: Managing Guile and extensions versions, Vorfeed Canal, 2005/09/28
- Re: Managing Guile and extensions versions, Ludovic Courtès, 2005/09/29
- Re: Managing Guile and extensions versions, Vorfeed Canal, 2005/09/29
- Re: Managing Guile and extensions versions, Neil Jerram, 2005/09/30
- Re: Managing Guile and extensions versions, Kevin Ryde, 2005/09/29
- Re: Managing Guile and extensions versions,
Ludovic Courtès <=
Re: PHP to GUILE, Neil Jerram, 2005/09/26