Summary: | dev-scheme/guile: modules broken on osx | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Elias Pipping <pipping> |
Component: | Mac OSX | Assignee: | Gentoo Prefix <prefix> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Highest | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | OS X | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Elias Pipping
2008-11-09 12:58:27 UTC
Creating a symlink doesn't help. pipping@quicksand ~/gentoo/usr/lib $ l libguilereadline-v-17.so lrwx------ 1 pipping staff 27 2008-11-09 14:01 libguilereadline-v-17.so -> libguilereadline-v-17.dylib guile> (use-modules (ice-9 readline)) ERROR: In procedure dynamic-link: ERROR: file: "libguilereadline-v-17", message: "dlopen(libguilereadline-v-17.so, 9): image not found" ABORT: (misc-error) guile> That's because it looks for it in the current working dir. Is there an option to disable dso in guile? That's an easy workaround for a broken system. not that i know of For the MacPorts version of Guile, setting the DYLD_LIBRARY_PATH environment variable to the location of the Guile modules (in my case, /opt/local/lib) fixed this problem. on osx, DYLD_LIBRARY_PATH is considered evil, making that a workaround rather than a fix. I don't have a box to reproduce this on anymore. If someone cares about this and the issue persists, please reopen it. |