Issue #84 resolved
Armin Rigo
created an issue

When the C-level call to dlopen fails, cffi should give more information than just "oups, cannot". (See where ctypes gets this information.)

Comments (4)

  1. Hernan Grecco

    I think the message should be improved. For example, when the library has the wrong architecture cffi reports: OSError: library not found:. ctypes gives a much better error message in this case: mach-o, but wrong architecture

  2. Armin Rigo reporter

    @hernan: Did you try the officially released 0.6, or trunk? The fix described here has been done after 0.6 was released.

    This bug report is already closed as "resolved". Please mention here if in trunk ffi.dlopen() is still too vague.

  3. Log in to comment