|
From: | Linas Vepstas |
Subject: | Re: guile-dbi: Use libltdl and prefer GUILE_DBD_PATH. |
Date: | Mon, 10 Jul 2017 17:54:22 -0500 |
Hi!
To reall, curentlly, guile-dbi use dlopen to load its backends.
So, for Guix we have to set LD_LIBRARY_PATH, which is not desired.
> [...]
> (me:)
>> I think it will be great to introduce a new search path (eg: GUILE_DBD_PATH)
>> in addition to LD_LIBRARY_PATH. Find the absolute so filepath in it
>> ourself, then pass to dlopen.
>
> (ludo:)
> Why not, but then it would be redundant with LD_LIBRARY_PATH and
> LTDL_LIBRARY_PATH, which would further complicate the search rules.
>
Yeah, but I just learn that libltdl has a convenient function to do
this..
So, here are patches for using libltdl and a new search path:
Hope they are obvious :-)
[Prev in Thread] | Current Thread | [Next in Thread] |