From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maurizio Boriani Subject: Re: [PATCH]: gnu: Add guile-dbi. Date: Tue, 21 Jun 2016 10:35:20 +0200 Message-ID: <8760t36it3.fsf@elisya.g.zucchetti.com> References: <87bn2yc3zu.fsf@member.fsf.org> <878ty06ze8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50329) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFH9Z-0007Jx-EK for guix-devel@gnu.org; Tue, 21 Jun 2016 04:35:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFH9W-0006qH-6v for guix-devel@gnu.org; Tue, 21 Jun 2016 04:35:25 -0400 Received: from out-pix.zucchetti.com ([62.108.224.103]:39284 helo=rmxng1.zucchetti.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFH9W-0006pt-0G for guix-devel@gnu.org; Tue, 21 Jun 2016 04:35:22 -0400 Received: from elisya.g.zucchetti.com (localhost.localdomain [127.0.0.1]) by rmxng1.zucchetti.com (Postfix) with ESMTP id 4E6EA2010E2 for ; Tue, 21 Jun 2016 10:35:20 +0200 (CEST) In-Reply-To: <878ty06ze8.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 20 Jun 2016 10:24:47 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org >>>>> "Ludovic" =3D=3D Ludovic Court=C3=A8s writes: hi, I'm the maintainer and first author of guile-dbi [...] >> 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=E2=80=99t 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=E2=80=99s alway= s 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?=20 thanks for your great work, bye --=20 Maurizio Boriani=20 PGP key: 0xCC0FBF8F