>>>>> "pa" == Paolo Amoroso <[EMAIL PROTECTED]> writes:
pa> [EMAIL PROTECTED]:~/src/cells-gtk-2005-05-29$ cmucl -core
cells-gtk-demo.core
pa>
pa> Error in function RELOAD-GLOBAL-TABLE:
pa> Couldn't open library "/usr/lib/libcellsgtk.so": NIL
pa> [Condition of type SIMPLE-ERROR]
it is possible that libcellsgtk.so depends on some other library,
which must be loaded before it. Shared objects are supposed to be
built with dependency information, so that dlopen() is able to
handle dependencies itself (you can see the dependencies built into
a shared library by using ldd). It is possible that the GTk
libraries on your system have been built incorrectly, without all
the required dependency information.
There may be some other explanation for the problem, though.
If you can reproduce the problem with a sequence of calls to
EXT:LOAD-FOREIGN, I can try it on my machine.
pa> It looks like sys::dlopen in reload-global-table fails:
pa>
pa> http://www.mail-archive.com/[email protected]/msg01289.html
BTW, there is now a CMUCL function SYS::REINITIALIZE-GLOBAL-TABLE
that you can call instead of RELOAD-GLOBAL-TABLE.
--
Eric Marsden