guile dlopen problems on Mac OS X

2009-08-04 Thread Ken Raeburn
After installing 1.9.1 on Mac OS X (10.5.7), and updating $PATH to point to the installation 'bin' directory: % guile-tools compile -o ack.go ack.scm ERROR: In procedure dynamic-link: ERROR: file: libguile-srfi-srfi-1-v-4, message: dlopen(libguile- srfi-srfi-1-v-4.so, 9): image not found %

Re: guile dlopen problems on Mac OS X

2009-08-04 Thread Andy Wingo
Hi Ken, On Tue 04 Aug 2009 11:26, Ken Raeburn raeb...@raeburn.org writes: After installing 1.9.1 on Mac OS X (10.5.7), and updating $PATH to point to the installation 'bin' directory: % guile-tools compile -o ack.go ack.scm ERROR: In procedure dynamic-link: ERROR: file:

Re: guile dlopen problems on Mac OS X

2009-08-04 Thread Ken Raeburn
On Aug 4, 2009, at 15:22, Andy Wingo wrote: The correct suffix for dynamically-linked libraries on Mac OS X is .dylib. This is just a problem in the error message; the .so string comes from libltdl, not from Guile. If I adjust LD_LIBRARY_PATH but don't create the .so symlink, guile- tools