[cells-gtk-devel] Error on SBCL: Unable to load foreign library:libgobject-2.0

Jeff Cunningham jeffrey.k.cunningham at boeing.com
Thu Aug 10 21:38:03 UTC 2006


I had a similar problem with cmucl, maybe the solution is the same: try making the load-foreign-library function in cffi/src/cffi-sbcl.lisp return T

(defun %load-foreign-library (name)
  "Load the foreign library NAME."
  (sys::load-object-file name)
  t)


-- 
Jeffrey Cunningham
Advanced ISR Systems
The Boeing Company
ph: 253.773.5084



On Wed, Aug 09, 2006 at 03:40:38PM -0700, Jason Dunsmore wrote:
> I'm trying to use cells-gtk-2006-06-30 with SBCL 0.9.14.  cells-gtk
> loads fine with (load "load"), but when I go to run the demo with
> (test-gtk:gtk-demo t), I get the error:
> 
> Unable to load foreign library: libgobject-2.0
>    [Condition of type CFFI:LOAD-FOREIGN-LIBRARY-ERROR]
> 
> I'm running Debian testing, and libgobject-2.0.so.0 is in /usr/lib.
> I've tried: symlinking libgobject-2.0.so.0 to libgobject-2.0.so,
> adding /usr/lib to /etc/ld.so.conf and running ldconfig, applying the
> fix listed at http://common-lisp.net/pipermail/cells-gtk-devel/2006-July/000214.html,
> and using CVS version of cells-gtk, but I still get the error.  After
> each attempt, I've removed all fasls and reloaded slime.
> 
> Any other ideas?
> 
> Thanks,
> Jason Dunsmore
> _______________________________________________
> cells-gtk-devel site list
> cells-gtk-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/cells-gtk-devel



More information about the cells-gtk-devel mailing list