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
Raspbian bookworm: undefined symbol EVP_idea_cbc #10881
Comments
When you installed cryptography, where did the installation come from -- https://www.piwheels.org/ or did you build it yourself? |
cryptography was compiled during pip install |
Hmm. Can you re-build cryptography with verbose logs and paste the output -- something like |
I rebuilt the package using |
Hmm, I'm a bit perplexed. I can see in the log that So I'm not sure why it would be that it's trying to link this symbol. |
On my currently running Home Assistant installation, I'm running the same cryptography version with Python 3.11.6 in a venv. There everything is working fine. The difference is only the cffi and setuptools version, could there be an issue? |
cffi/setuptools version shouldn't impact this.
…On Wed, Apr 24, 2024 at 4:08 PM Tristan Kundrat ***@***.***> wrote:
On my currently running Home Assistant installation, I'm running the same cryptography version with Python 3.11.6 in a venv. There everything is working fine. The difference is only the cffi and setuptools version, could there be an issue?
I set up a new venv for this issue for testing under /home/pi/test-venv/ , but I did the same steps as for the actual installation under /srv/homeassistant/ , so there should not be an issue.
Is there something else I can try?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
--
All that is necessary for evil to succeed is for good people to do nothing.
|
If you install from git ( |
There are some version constraints I had to violate:
I now ran
Home Assistant begins to start, but I get the error
Don't know if that is related to this issue. |
Interesting. I do not see anything in the code that explains why there'd be
a difference between main and 42.0.5...
…On Thu, Apr 25, 2024 at 5:24 AM Tristan Kundrat ***@***.***> wrote:
There are some version constraints I had to violate:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency confl
icts.
pyopenssl 24.1.0 requires cryptography<43,>=41.0.5, but you have cryptography 43.0.0.dev1 which is incompatible.
homeassistant 2024.4.4 requires cryptography==42.0.5, but you have cryptography 43.0.0.dev1 which is incompatible.
I now ran hass --skip-pip-packages cryptography, so cryptography 24.0.5
does not get installed automatically again, we also get a warning:
2024-04-25 11:18:45.845 WARNING (MainThread) [homeassistant.bootstrap] Skipping pip installation of required modules. This may cause issues
Home Assistant begins to start, but I get the error
ImportError: libmmal_core.so.0: cannot open shared object file: No such file or directory
Don't know if that is related to this issue.
But otherwise it seems to work, Home Assistant itself is starting up.
—
Reply to this email directly, view it on GitHub
<#10881 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAAGBALW7IOK7SHTPJHHGTY7DDUBAVCNFSM6AAAAABGWS3YS6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZWG42DSMRSGU>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
All that is necessary for evil to succeed is for good people to do nothing.
|
This issue has been waiting for a reporter response for 3 days. It will be auto-closed if no activity occurs in the next 5 days. |
I did not have any new idea to test. So I rebooted my pi again today and tried rebuilding the package as before inside my test-venv with |
cryptography
,cffi
,pip
, andsetuptools
you're using
cryptography
pip3 install homeassistant
(version 2024.4.4), which has a dependency forcryptography==42.0.5
source bin/activate
inside the venv directorypip3 install homeassistant
hass
inside the venvI'm using
OpenSSL 3.0.11 19 Sep 2023 (Library: OpenSSL 3.0.11 19 Sep 2023)
.Rust compiler:
OS:
Raspbian GNU/Linux 12 (bookworm) aarch64
It seems the mentioned .so file does not contain the symbol (I checked with nm -gD), so maybe the wrong openssl is used? I just installed the official packaged version via
sudo apt install openssl
.The text was updated successfully, but these errors were encountered: