guile-user
[Top][All Lists]
Advanced

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

guile-dbi issue (v2.1.4)


From: Matt Wette
Subject: guile-dbi issue (v2.1.4)
Date: Sun, 04 Aug 2013 07:43:43 -0700

Hello folks,

I compiled and installed
  guile-dbd-sqlite3-2.1.4
  guile-dbi-2.1.4
on
 MacOS 10.7.5

The test program in the dbd distribution did not work.   Here is the issue and 
a workaround I found:

guile-dbi.c has the following line:  sprintf(sodbd, "libguile-dbd-%s.so", 
g_db_handle->bcknd_str);

The above line seems to generate the name of the file to load.  On the mac, 
shared libraries end in .dylib, not .so.
So the call to (dbi-open "sqlite3" db-path) results in "file not found" (when 
dbi-open is displayed).

One workaround is to link the .dylib file to a .so file with the same base name.

Matt





reply via email to

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