[email protected] (宋文武) skribis: > From 8e73c3e1a798b134e341c71c4b1c17d60956e3d5 Mon Sep 17 00:00:00 2001 > From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <[email protected]> > Date: Fri, 17 Jun 2016 22:44:56 +0800 > Subject: [PATCH 1/2] gnu: Add guile-dbi. > > * gnu/packages/guile.scm (guile-dbi): New variable.
LGTM! > From 87c3ef658e24035715b48606fb9ef24d55aaddfa Mon Sep 17 00:00:00 2001 > From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <[email protected]> > Date: Sat, 18 Jun 2016 15:49:36 +0800 > Subject: [PATCH 2/2] gnu: Add guile-dbd-sqlite3. > > * gnu/packages/guile.scm (guile-dbd-sqlite3): New variable. LGTM. > Unfortunately, Guile DBI loads its backends using `dlopen', > so I have to set 'LD_LIBRARY_PATH' to '$guile-dbd-sqlite/lib' > for loading it. I don’t have any great ideas. If it uses lt_dlopen, then we should recommend setting LTDL_LIBRARY_PATH instead of LD_LIBRARY_PATH, which is a lesser evil. Otherwise, we could also hard-code the file name of, say, guile-dbd-sqlite in guile-dbi, such that there’s always at least one backend available. WDYT? Thanks, Ludo’.
