May 24, 2013
5:08 p.m.
Hi,
On Fri, May 24, 2013 at 8:45 AM, Xia Xin <xiaxinx@gmail.com> wrote: I believe that you need to say "./libMyClassDict.so". Otherwise it's searching for the .so in the system's standard places, which do not include ".".
yes, or add '.' to LD_LIBRARY_PATH. The call is basically just a dlopen: internally, it uses libffi.CDLL(). Note that if the automatic class loader is used, the same rules apply, as .rootmap files available through LD_LIBRARY_PATH are used for auto-loading. I've clarified this in the documentation. Thanks, Wim -- WLavrijsen@lbl.gov -- +1 (510) 486 6411 -- www.lavrijsen.net