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