Hi,
On Fri, May 24, 2013 at 8:45 AM, Xia Xin <xiax...@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 -- wlavrij...@lbl.gov -- +1 (510) 486 6411 -- www.lavrijsen.net _______________________________________________ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev