guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Thread Plug-in Support #2


From: Marius Vollmer
Subject: Re: [PATCH] Thread Plug-in Support #2
Date: 13 Apr 2001 02:01:19 +0200
User-agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7

Rob Browning <address@hidden> writes:

>       I also wonder if modules that dynamic-link to shared libraries
>       should generate and refer to explicit versions -- otherwise
>       things could be a mess in the future.

This is an important point.  We should be able to specify the versions
of dynamic libraries that we want to link.  "ltdl" should be the agent
that carries out the details.

>  Something like:
> 
>         (let ((lib-path (find-in-path %dlib-path "somelib.so.5.3"))) 
>           (if lib-path (dynamic-link lib-path ...)))

I don't think encoding the version information into the library name
is the best way to do it.  It might work on GNU/Linux, but it might
not work elsewhere.  Additionally, we must make sure that no conflicts
arise from linking incompatible versions.  For example, it wont
probably work to load both "somelib.so.5.3" and "somelib.so.4.9" into
the same process.  We should signal an error for this.


What would %dlib-path consist of?  Would it just be LD_LIBRARY_PATH,
or more?  `dynamic-link' already does path searching on its own.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]