macos - Mac code signing for dylib (sqlite extensions) - Stack Overflow

I'm trying to port some SQLite and Python scripts from Linux to my new M3 Mac (macOS 15).I'm

I'm trying to port some SQLite and Python scripts from Linux to my new M3 Mac (macOS 15).

I'm running into problems because I can't load extensions - it's forbidden due to System Policy.

I have created a self-signed code-signing cert (SGH_sqlite_extensions), and signed the extensions (in /usr/local/lib/sqlite) using codesign. I still get no joy. When I interogate the dylibs using spctl I get the following:

% spctl -a -vv math.dylib
math.dylib:rejected
origin=SGH_sqlite_extensions

What am I doing wrong? What do I need to do to enable dylibs to load as sqlite3 extensions?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744746474a4591328.html

相关推荐

  • macos - Mac code signing for dylib (sqlite extensions) - Stack Overflow

    I'm trying to port some SQLite and Python scripts from Linux to my new M3 Mac (macOS 15).I'm

    23小时前
    40

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信