Jump to content

Sideloadly M1 Max: Failed to init layer 2


Go to solution Solved by Rook,

8 posts in this topic

Recommended Posts

Sideloadly will not open for me on my M1 Max.

 

Ive tried version 0.22.2, and the new 0.23 but both give me the following error message.

Ive tried looking through the forums and online for similar issues but cannot find a resolution.

Both times I have downloaded Sideloadly right from Sideloadly.io

Do you have any ideas I could try? Thanks!

Failed to init layer 2: Guru Meditation 8d5d2b@10:ad7080 dlopen(/Users/user/Library/Python/3.8/lib/python/site-packages/cryptography/hazmat/bindings/_rust.abi3.so, 0x0002): tried: '/Users/user/Library/Python/3.8/lib/python/site-packages/cryptography/hazmat/bindings/_rust.abi3.so' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/local/lib/_rust.abi3.so' (no such file), '/usr/lib/_rust.abi3.so' (no such file). v0.23, Darwin 12.0.1, amd64

Link to comment
https://iosgods.com/topic/152249-sideloadly-m1-max-failed-to-init-layer-2/
Share on other sites

Thanks for the fast response!

 

Yep, I do have python installed.

I just ran python --version to double check and it came back with Python 3.8.10

 

I am also on a clean install of Monterey 12.0.1 if that helps in any way.

 

Thanks again.

  • Solution

That seems to be the reason for the issue above.

We'll have to investigate why this is happening and hopefully provide a fix next update.

For now, if you really need Sideloadly, removing (or disabling?) Python from your system may help.

Updated by Rook

Wow! That fixed it! Thank you so much for the quick replies! 

 

I spent far too much time researching what could be going on and you solved it in minutes. 😆

 

Thank you and the whole team for the great work!

8 minutes ago, reesebre82 said:

Wow! That fixed it! Thank you so much for the quick replies! 

 

I spent far too much time researching what could be going on and you solved it in minutes. 😆

 

Thank you and the whole team for the great work!

It's a temporary fix. :)

  • Winner 1
On 11/25/2021 at 1:34 AM, Rook said:

That seems to be the reason for the issue above.

We'll have to investigate why this is happening and hopefully provide a fix next update.

For now, if you really need Sideloadly, removing (or disabling?) Python from your system may help.

I don't want to remove python on my system 😢. So I tried to replace cryptography with its x86_64 version and that works.

cd ~/Library/Python/3.8/lib/python/site-packages
# remove or backup these two folders
mv cryptography cryptography_arm64
mv cryptography-3.4.7.dist-info cryptography-3.4.7.dist-info_arm64
# install cryptography with x86 version
arch -x86_64 /usr/bin/python3 -m pip install cryptography

Hope there will be a non-invasive solution in the next update~

10 minutes ago, whexy said:

I don't want to remove python on my system 😢. So I tried to replace cryptography with its x86_64 version and that works.

No it doesn't. Successfully start the application and see the GUI window though.

Have the error

> cffi library '_openssl' has no function, constant or global variable named 'Cryptography_HAS_SIGALGS'

Maybe that means to use a x86 version of openssl as well.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below. For more information, please read our Posting Guidelines.
Reply to this topic... Posting Guidelines

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines