I think that Miodrag was trying to pass a function pointer (callback). gtk+ does
this.
Oleg Kobchenko wrote:
Shouldn't that be the responsibility of the top-level
library? Anyway, doesn't LD_LIBRARY_PATH work?
--- On Sat, 6/28/08, Miodrag <[EMAIL PROTECTED]> wrote:
This question is for linux, it could be relevant for windows
but I
wouldn't know. It often happens that one shared library
refers to
another, e.g. a vendor decided to split functions across
the libraries
and a function from one library calls some function from
another.
Right now there is no way to deal with this situation from
J, or am I
wrong? I'm getting "undefined symbol" error
when I specify libA in the
'pathToLibA procedure signature' cd parameters
call and the procedure calls a function in some libB. It
would be
nice, and I suspect not too difficult, to add the
possibility of
specifying a delimited list of libraries to load.
It might be even better to separate library loading from
function
calls and have a bit of a more complete interface to the
whole shared
library facility so one can load, unload libraries and see
which
libraries are loaded.
Mio
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm