Paolo Amoroso <[EMAIL PROTECTED]> writes:

> I am trying to run a dumped image containing a cells-gtk application,
> more specifically gtk-demo:
> 
>   http://common-lisp.net/project/cells-gtk/
> 
> When I start the dumped image, I get an error just after the splash

I have done some progress.  I realized that I didn't have
libcellsgtk.so, which is required by some features of the demo,
properly compiled and installed.  After doing that, the global table
includes the library:

* sys::*global-table*

((#.(SYSTEM:INT-SAP #x08074280) . "/usr/lib/libcellsgtk.so")
 (#.(SYSTEM:INT-SAP #x08073B60) . "/usr/lib/libgtk-x11-2.0.so")
 (#.(SYSTEM:INT-SAP #x08070300) . "/usr/lib/libgdk-x11-2.0.so")
 (#.(SYSTEM:INT-SAP #x0806FBC8) . "/usr/lib/libgthread-2.0.so")
 (#.(SYSTEM:INT-SAP #x0806F7B0) . "/usr/lib/libglib-2.0.so")
 (#.(SYSTEM:INT-SAP #x0806F570) . "/usr/lib/libgobject-2.0.so")
 (#.(SYSTEM:INT-SAP #x40014F90)))

This time, when I start the saved image, I get this different error:

[EMAIL PROTECTED]:~/src/cells-gtk-2005-05-29$ cmucl -core cells-gtk-demo.core


Error in function RELOAD-GLOBAL-TABLE:
   Couldn't open library "/usr/lib/libcellsgtk.so": NIL
   [Condition of type SIMPLE-ERROR]

Restarts:
  0: [ABORT] Skip remaining initializations.

Debug  (type H for help)

(RELOAD-GLOBAL-TABLE)
Source:
; File: /home/paolo/src/cells-gtk-2005-05-29/reload-global-table.lisp
(ERROR "Couldn't open library ~S: ~S" LIB-PATH (SYSTEM::DLERROR))
0] backtrace

0: (RELOAD-GLOBAL-TABLE)
1: ((LABELS LISP::%RESTART-LISP
      SAVE-LISP))
2: ((LABELS LISP::RESTART-LISP
      SAVE-LISP))

0]

It looks like sys::dlopen in reload-global-table fails:

  http://www.mail-archive.com/[email protected]/msg01289.html

But it apparently works fine with other libraries in
sys::*global-table*.


Paolo
-- 
Lisp Propulsion Laboratory log - http://www.paoloamoroso.it/log


Reply via email to