---- Clinton Ebadi <[EMAIL PROTECTED]> wrote: > (define-module (pg whatever) > #:export (guile-pg symbols ...)) > > (load-extension "libwhateverpg" "guile_pg_init") > > Is roughly what you need. Assuming that there is an init function in > guile-pg that creates all of bindings for the library which, if I am > remembering how the autoloading magic works, it has to. This is > definitely something that anyone could do (just find the guile-pg init > function and export every scm_define_gsubr etc.).
Yes, this needs to be done, but there is quite a bit more work that has to happen. The C code uses features and interfaces from Guile 1.4 that are deprecated in 1.6 and completely removed in 1.8. You just can't compile and link the C code against a 1.8 Guile. -Dale