[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mac OS X .dylib not working

From: Hans Åberg
Subject: Mac OS X .dylib not working
Date: Thu, 3 Mar 2011 20:32:00 +0100

[I'm not on the bug-libtool list, so please cc me.]

Despite being reported a year ago, Guile can still not open dynamic libraries 
ending with .dylib on Mac OS X. Looking throw the past discussion, it looks as 
though developers of the one package hold the opinion that those of the other 
package should do the fix. So I am merely reporting it, cross-linking, so that 
you can figure out who guys should do the fix. :-)

So guile-2.0.0 using libltdl.7.dylib of libtool-2.4, can on Mac OS X 10.6.6 
only open a dynamic library if the name of what it actually opens ends in .so 
(say by making a soft link using 'ln -s'); if it ends in .dylib, it cannot open 
it, even if the full name is given.


Mac OS X does not care about file name extensions; .dylib is just a convention 
for native dynamic libraries.

So the wanted behavior is to first try opening a library without adding an 
extension, and then try out different endings. On Mac OS X, it would be best 
trying out .dylib first - I haven't seen any other ending in use.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]