Subject: Re: guile-www configure script cannot find srfi [solved]
To: Greg Troxel <gdt@ir.bbn.com>
From: Carson Chittom <carson@sdf.lonestar.org>
List: pkgsrc-users
Date: 01/25/2007 10:24:07
On 2007-01-25 07:33:19 -0600 Greg Troxel <gdt@ir.bbn.com> wrote:

> /usr/pkgsrc/devel/guile-www > guile
> guile> (use-modules (srfi srfi-13))
> guile> (version)
> "1.6.8"
> 
> If that fails, which I expect it will, then there's probably some
> dynamic linking issue; Darwin seems to compile absolute paths into

Looks like you've put your finger on it exactly.  It does fail, with:

guile> (use-modules (srfi srfi-13))
/usr/pkg/share/guile/1.6/srfi/srfi-13.scm:159:1: In procedure 
dynamic-link in expression (load-extension 
"libguile-srfi-srfi-13-14-v-1" 
"scm_init_srfi_13"):/usr/pkg/share/guile/1.6/srfi/srfi-13.scm:159:1: 
file: "libguile-srfi-srfi-13-14-v-1", message: "dlcompat: file 
\"libguile-srfi-srfi-13-14-v-1.so\" not found"
ABORT: (misc-error)
Type "(backtrace)" to get more information or "(debug)" to enter the 
debugger.

But!  Applying the patch in PR 33665 to guile's buildlink3.mk--and 
recompiling and reinstalling guile--works like a charm.  Many thanks!

Regards,
Carson