CLG on Mac OSX

Thomas Down <[email protected]> Sat, 26 Aug 2006 10:09:46 +0100
Newsgroups gmane.lisp.clg.devel
Message-ID <[email protected]>
Hi,

I'm trying to install CLG on my Mac, under SBCL 0.9.16 (also tested
on 0.9.14).  In case it matters, I've got an Intel processor -- but
I think this issue is probably a general OSX/Darwin problem.  I'm using
a recent checkout from the CLG CVS repository.

I've updated asdf-extensions.lisp to understand library names ending
in .dylib rather than .so, and also fixed a few hard-coded library
names elsewhere in the lisp code.  When linking alien.dylib, I get
a linker error:

  /usr/bin/ld: Undefined symbols:
  _g_closure_add_finalize_notifier
  _g_closure_new_simple
  _g_closure_set_meta_marshal
  collect2: ld returned 1 exit status

If I relink this against libgobject-2.0.dylib, all appears to be
well until:

  debugger invoked on a UNDEFINED-FUNCTION:
    The function |g_value_get_type| is undefined.
  [...]
  (SB-KERNEL:%COERCE-CALLABLE-TO-FUN |g_value_get_type|)

The problem is occurring while loading "gparam.fasl", offending line
seems to be:

   (REGISTER-TYPE GVALUE |g_value_get_type|)

Some simplistic poking around shows that load-dso has been called
for libobject (and some other libraries) and appears to have
completed successfully.  So I'm confused as to why this function
isn't visible.  Then again, this is my first attempt at getting
LISP and native code to play nicely together -- is there anything
I should be trying?

        Thomas.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642