Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library not loaded: OpenSSL #257

Open
ThinkDeeper opened this issue Jul 27, 2023 · 4 comments
Open

Library not loaded: OpenSSL #257

ThinkDeeper opened this issue Jul 27, 2023 · 4 comments

Comments

@ThinkDeeper
Copy link

I am getting this error right after instalation and first run. Running on latest master with iPad.

dyld[1614]: Library not loaded: @rpath/OpenSSL.framework/OpenSSL
  Referenced from: <26735387-303A-3FD9-AB04-0D335A8A629B> /private/var/containers/Bundle/Application/98A81BB1-6FE4-47D8-BECF-6A0F8E45C072/iTorrent.app/Frameworks/ITorrentFramework.framework/ITorrentFramework
  Reason: tried: '/usr/lib/swift/OpenSSL.framework/OpenSSL' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/OpenSSL.framework/OpenSSL' (errno=2), '/private/var/containers/Bundle/Application/98A81BB1-6FE4-47D8-BECF-6A0F8E45C072/iTorrent.app/Frameworks/OpenSSL.framework/OpenSSL' (errno=2), '/private/var/containers/Bundle/Application/98A81BB1-6FE4-47D8-BECF-6A0F8E45C072/iTorrent.app/Frameworks/ITorrentFramework.framework/Frameworks/OpenSSL.framework/OpenSSL' (code signature invalid in <A2B2AAE2-C7FB-350D-AFFE-3A40A89DC1B4> '/private/var/containers/Bundle/Application/98A81BB1-6FE4-47D8-BECF-6A0F8E45C072/iTorrent.app/Frameworks/ITorrentFramework.framework/Frameworks/OpenSSL.framework/OpenSSL' (errno=1) sliceOffset=0x00000000, codeBlobOffset=0x00264240, codeBlobSize=0x0000C580), '/usr/lib/swift/OpenSSL.framework/OpenSSL' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/OpenSSL.framework/OpenSSL' (errno=2), '/usr/lib/swift/OpenSSL.framework/OpenSSL' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/OpenSSL.framework/OpenSSL' (errno=2), '/private/var/containers/Bundle/Application/98A81BB1-6FE4-47D8-BECF-6A0F8E45C072/iTorrent.app/Frameworks/OpenSSL.framework/OpenSSL' (errno=2), '/private/var/containers/Bundle/Application/98A81BB1-6FE4-47D8-BECF-6A0F8E45C072/iTorrent.app/Frameworks/OpenSSL.framework/OpenSSL' (errno=2), '/private/var/containers/Bundle/Application/98A81BB1-6FE4-47D8-BECF-6A0F8E45C072/iTorrent.app/Frameworks/OpenSSL.framework/OpenSSL' (errno=2), '/usr/local/Cellar/boost/1.67.0_1/lib/OpenSSL.framework/OpenSSL' (errno=2), '/private/preboot/Cryptexes/OS/usr/local/Cellar/boost/1.67.0_1/lib/OpenSSL.framework/OpenSSL' (errno=2), '/usr/lib/swift/OpenSSL.framework/OpenSSL' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/OpenSSL.framework/OpenSSL' (errno=2), '/usr/lib/swift/OpenSSL.framework/OpenSSL' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/OpenSSL.framework/OpenSSL' (errno=2), '/private/var/containers/Bundle/Application/98A81BB1-6FE4-47D8-BECF-6A0F8E45C072/iTorrent.app/Frameworks/OpenSSL.framework/OpenSSL' (errno=2), '/private/var/containers/Bundle/Application/98A81BB1-6FE4-47D8-BECF-6A0F8E45C072/iTorrent.app/Frameworks/OpenSSL.framework/OpenSSL' (errno=2), '/private/var/containers/Bundle/Application/98A81BB1-6FE4-47D8-BECF-6A0F8E45C072/iTorrent.app/Frameworks/OpenSSL.framework/OpenSSL' (errno=2), '/usr/local/Cellar/boost/1.67.0_1/lib/OpenSSL.framework/OpenSSL' (errno=2), '/private/preboot/Cryptexes/OS/usr/local/Cellar/boost/1.67.0_1/lib/OpenSSL.framework/OpenSSL' (errno=2), '/private/preboot/Cryptexes/OS@rpath/OpenSSL.framework/OpenSSL' (errno=2), '/usr/lib/swift/OpenSSL.framework/OpenSSL' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/OpenSSL.framework/OpenSSL' (errno=2), '/private/var/containers/Bundle/Application/98A81BB1-6FE4-47D8-BECF-6A0F8E45C072/iTorrent.app/Frameworks/OpenSSL.framework/OpenSSL' (errno=2), '/private/var/containers/Bundle/Application/98A81BB1-6FE4-47D8-BECF-6A0F8E45C072/iTorrent.app/Frameworks/ITorrentFramework.framework/Frameworks/OpenSSL.framework/OpenSSL' (code signature invalid in <A2B2AAE2-C7FB-350D-AFFE-3A40A89DC1B4> '/private/var/containers/Bundle/Application/98A81BB1-6FE4-47D8-BECF-6A0F8E45C072/iTorrent.app/Frameworks/ITorrentFramework.framework/Frameworks/OpenSSL.framework/OpenSSL' (errno=1) sliceOffset=0x00000000, codeBlobOffset=0x00264240, codeBlobSize=0x0000C580), '/usr/lib/swift/OpenSSL.framework/OpenSSL' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/OpenSSL.framework/OpenSSL' (errno=2), '/usr/lib/swift/OpenSSL.framework/OpenSSL' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/OpenSSL.framework/OpenSSL' (errno=2), '/private/var/containers/Bundle/Application/98A81BB1-6FE4-47D8-BECF-6A0F8E45C072/iTorrent.app/Frameworks/OpenSSL.framework/OpenSSL' (errno=2), '/private/var/containers/Bundle/Application/98A81BB1-6FE4-47D8-BECF-6A0F8E45C072/iTorrent.app/Frameworks/OpenSSL.framework/OpenSSL' (errno=2), '/private/var/containers/Bundle/Application/98A81BB1-6FE4-47D8-BECF-6A0F8E45C072/iTorrent.app/Frameworks/OpenSSL.framework/OpenSSL' (errno=2), '/usr/local/Cellar/boost/1.67.0_1/lib/OpenSSL.framework/OpenSSL' (errno=2), '/private/preboot/Cryptexes/OS/usr/local/Cellar/boost/1.67.0_1/lib/OpenSSL.framework/OpenSSL' (errno=2), '/usr/lib/swift/OpenSSL.framework/OpenSSL' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/OpenSSL.framework/OpenSSL' (errno=2), '/usr/lib/swift/OpenSSL.framework/OpenSSL' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/OpenSSL.framework/OpenSSL' (errno=2), '/private/var/containers/Bundle/Application/98A81BB1-6FE4-47D8-BECF-6A0F8E45C072/iTorrent.app/Frameworks/OpenSSL.framework/OpenSSL' (errno=2), '/private/var/containers/Bundle/Application/98A81BB1-6FE4-47D8-BECF-6A0F8E45C072/iTorrent.app/Frameworks/OpenSSL.framework/OpenSSL' (errno=2), '/private/var/containers/Bundle/Application/98A81BB1-6FE4-47D8-BECF-6A0F8E45C072/iTorrent.app/Frameworks/OpenSSL.framework/OpenSSL' (errno=2), '/usr/local/Cellar/boost/1.67.0_1/lib/OpenSSL.framework/OpenSSL' (errno=2), '/private/preboot/Cryptexes/OS/usr/local/Cellar/boost/1.67.0_1/lib/OpenSSL.framework/OpenSSL' (errno=2), '/System/Library/Frameworks/OpenSSL.framework/OpenSSL' (errno=2, not in dyld cache)

Any idea where is problem? How to make it run? Thx.

@XITRIX
Copy link
Owner

XITRIX commented Jul 29, 2023

How did you installed it? You've compiled it manually with xCode?

@ThinkDeeper
Copy link
Author

@XITRIX yes, I downloaded the code, successfully build it and install it with xCode, but it crash just after the app starts.

@lRoMYl
Copy link

lRoMYl commented Aug 19, 2023

Not sure which OpenSSL this project is linked to but tentatively I'm fixing it with this universal open ssl pod
https://github.com/krzyzanowskim/OpenSSL

@mahee96
Copy link
Contributor

mahee96 commented Sep 29, 2023

Faced the same issue, had to add OpenSSL-Universal to podfile and add OpenSSL.xcframework to the Linkable libraries list under Build Phases.

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants