[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mac OS X .dylib
From: |
Hans Aberg |
Subject: |
Mac OS X .dylib |
Date: |
Sat, 30 Jan 2010 15:41:03 +0100 |
[I'm not on this list, so please cc me.]
It seems guile-1.8.7 does not admit dynamic library file name
extensions .dylib, but only .so, on Mac OS X (tried 10.5.8. PPC G4),
despite the manual saying guile should adapt to local standards. The
example in the manual sec. 4.2.1 works fine with
gcc -dynamiclib -lguile -o libguile-bessel.so bessel.c
but not if changed to libguile-bessel.dylib, giving the error within
guile:
standard input:2:1: file: "libguile-bessel", message: "file not
found"
On Mac OS X, it should probably look for .dylib first, and perhaps .so
for backwards compatibility.
Hans
- Mac OS X .dylib,
Hans Aberg <=