[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mac OS X .dylib not working
From: |
Hans Aberg |
Subject: |
Re: Mac OS X .dylib not working |
Date: |
Tue, 2 Feb 2010 18:15:22 +0100 |
On 2 Feb 2010, at 17:52, Bob Friesenhahn wrote:
Unless I am missing something, the question to be answered is if
Guile requests opening modules using a name like
"module.so" (assuming a particular naming scheme),
"module.la" (using libltdl as originally intended), or bare
"module" (using libltdl heuristics, which tries several
incantations, such as looking for .la, and .so).
On the Bug-Guile list, Ludovic Courtès said it was the last one ,
specifically the code in 'ibguile/dynl.c', which looks like:
static void *
sysdep_dynl_link (const char *fname, const char *subr)
{
lt_dlhandle handle;
handle = lt_dlopenext (fname);
if (NULL == handle)
{
SCM fn;
SCM msg;
fn = scm_from_locale_string (fname);
msg = scm_from_locale_string (lt_dlerror ());
scm_misc_error (subr, "file: ~S, message: ~S", scm_list_2 (fn,
msg));
}
return (void *) handle;
}
OS-X's module loading does not care about the file extension.
So from what you say, the problem may simply be that .dylib isn't in
the list.
Hans
- Mac OS X .dylib not working, Hans Aberg, 2010/02/01
- Re: Mac OS X .dylib not working, Ralf Wildenhues, 2010/02/02
- Re: Mac OS X .dylib not working, Hans Aberg, 2010/02/02
- Re: Mac OS X .dylib not working, Ken Raeburn, 2010/02/02
- Re: Mac OS X .dylib not working, Hans Aberg, 2010/02/02
- Re: Mac OS X .dylib not working, Bob Friesenhahn, 2010/02/02
- Re: Mac OS X .dylib not working,
Hans Aberg <=
- Message not available
- Re: Mac OS X .dylib not working, Ken Raeburn, 2010/02/03
- Re: Mac OS X .dylib not working, Ludovic Courtès, 2010/02/03
- Re: Mac OS X .dylib not working, Hans Aberg, 2010/02/04
- Re: Mac OS X .dylib not working, Peter O'Gorman, 2010/02/04
- Re: Mac OS X .dylib not working, Hans Aberg, 2010/02/04
- Re: Mac OS X .dylib not working, Peter O'Gorman, 2010/02/04
- Re: Mac OS X .dylib not working, Hans Aberg, 2010/02/04
- Re: Mac OS X .dylib not working, Hans Aberg, 2010/02/04