guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH]: gnu: Add guile-dbi.


From: Ludovic Courtès
Subject: Re: [PATCH]: gnu: Add guile-dbi.
Date: Tue, 21 Jun 2016 16:14:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Hi!

Maurizio Boriani <address@hidden> skribis:

>   I'm the maintainer and first author of guile-dbi

Good to see you here!  :-)

>     >> Unfortunately, Guile DBI loads its backends using `dlopen', so I
>     >> have to set 'LD_LIBRARY_PATH' to '$guile-dbd-sqlite/lib' for
>     >> loading it.
>
>     Ludovic> I don’t have any great ideas.
>
>     Ludovic> If it uses lt_dlopen, then we should recommend setting
>     Ludovic> LTDL_LIBRARY_PATH instead of LD_LIBRARY_PATH, which is a
>     Ludovic> lesser evil.
>
>     Ludovic> Otherwise, we could also hard-code the file name of, say,
>     Ludovic> guile-dbd-sqlite in guile-dbi, such that there’s always at
>     Ludovic> least one backend available.
>
> may be ok for you if I introduce and 'hardcoded' default search path
> for library lookup in guile-dbi source code and do a new release? 

I don’t think there’s any good default search path that we could hard
code, though, except arbitrarily choosing one of the backends as I
suggested above.

Ideas?

So I’m tempted to think that it’s best for you not to change anything.

On the Guix side, another thing we could do is a ‘LTDL_LIBRARY_PATH’ as
a ‘native-search-path’ for guile-dbi.

Thoughts?

Ludo’.



reply via email to

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