I tried to sign all the .so files with my signing identity but get another import error(ad-hoc signing doesn't work):
Code:
ImportError: dlopen(Library/Preferences/calibre/plugins/worddumb-numpy1.20.1/numpy/core/_multiarray_umath.cpython-38-darwin.so, 2): no suitable image found. Did find:
Library/Preferences/calibre/plugins/worddumb-numpy1.20.1/numpy/core/_multiarray_umath.cpython-38-darwin.so: code signature in (Library/Preferences/calibre/plugins/worddumb-numpy1.20.1/numpy/core/_multiarray_umath.cpython-38-darwin.so) not valid for use in process using Library Validation: mapping process and mapped file (non-platform) have different Team IDs
There is another option, disable library validation. I find it at
https://github.com/opencv/opencv/iss...ment-554495051. I'm not sure how it's applied in the building process of calibre but it seems the only way. Damn apple.