Problem registering foreign modules
I am suing Lispworks 6 32bit on Snow Leopard. I am trying to load a dynamic library but I am getting an error that I do not know how to fix:(setf (lispworks:environment-variable "DYLD_LIBRARY_PATH") "/Applications/MATLAB_R2010a.app/bin/maci")
(fli:register-module "libeng" :connection-style :immediate)
Error: Could not register handle for external module "libeng":
Library not loaded: libtbb.dylib
Referenced from: /Applications/MATLAB_R2010a.app/bin/maci/libmwfl.dylib
Reason: image not found.
But I can load that module no problem from the listener:
(fli:register-module "libtbb" :connection-style :immediate)
"libtbb"
(fli:connected-module-pathname "libtbb")
#P"/Applications/MATLAB_R2010a.app/bin/maci/libtbb.dylib"
Any help would be greatly appreciated.
-Ryan