libsqlite3.dylib 安全错误
我在使用 libsqlite3.dylib 库时遇到问题;当我尝试运行时,我收到以下错误消息:
dyld: Library not loaded: /usr/lib/libsqlite3.dylib
Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
Reason: Incompatible library version: Security requires version 9.0.0 or later, but libsqlite3.dylib provides version 1.0.0
Trace/BPT trap
我能找到的所有内容都说将 libsqlite3.dylib 复制到您的应用程序文件夹,但他们说要从 /usr 中获取一个/lib,这就是导致错误的原因。
我尝试使用 ports: 进行更新
$ sudo port clean sqlite3
Password:
---> Cleaning sqlite3
$ sudo port install sqlite3
---> Computing dependencies for sqlite3
---> Cleaning sqlite3
$
,甚至下载了 sqlite3,然后运行了 make 和 make install。
我仍然收到此错误。
有谁知道如何修复这个错误?
I am having trouble with the libsqlite3.dylib library; when I try to run, I am receiving the following error message:
dyld: Library not loaded: /usr/lib/libsqlite3.dylib
Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
Reason: Incompatible library version: Security requires version 9.0.0 or later, but libsqlite3.dylib provides version 1.0.0
Trace/BPT trap
Everything I've been able to find says to copy libsqlite3.dylib to your app folder, but they say to take the one from /usr/lib, and that's the one that is causing the error.
I've tried updating using ports:
$ sudo port clean sqlite3
Password:
---> Cleaning sqlite3
$ sudo port install sqlite3
---> Computing dependencies for sqlite3
---> Cleaning sqlite3
$
and I went so far as to download sqlite3, and I ran the make and make install.
I am still getting this error.
Does anyone know how to fix this error??
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论