[Top][All Lists]

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

Re: Mac OS X .dylib not working

From: Ken Raeburn
Subject: Re: Mac OS X .dylib not working
Date: Tue, 2 Feb 2010 09:20:33 -0500

On Feb 2, 2010, at 04:08, Hans Aberg wrote:
On 2 Feb 2010, at 07:42, Ralf Wildenhues wrote:
>>> On Mac OS X (trying it on 10.5.8 PPC G4), guile-1.8.7 cannot open
>>> dynamic library files with name extensions .dylib, but only if they
>>> are renamed using .so instead. On the Bug-Guile list they say it
>>> just calls libltdl, in the libtool package. I have installed latest
>>> of both, but the problem persists:
>> libtool should produce modules named *.so on Darwin if you pass the
>> -module flag at link time.  Typically, -avoid-version is used for
>> modules as well.
> But dlopen() on Mac OS X can only open files in the native format, which 
> isn't ELF, and they are typically named with the .dylib file name extension. 
> If it finds a .so file on ELF format, all it does is reporting it cannot be 
> opened.

".so" doesn't mean ELF format, and on some systems including Mac OS X, 
"dynamically linked shared library" (e.g., a ".dylib" file) is not the same as 
"dynamically loadable object".  Did you not see my earlier email to you and the 
bug-guile list?


reply via email to

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