Open wtogami opened 2 months ago
The difference is an upgrade from HWI 3.0.0 to HWI 3.1.0.
Can you try downloading hwi-3.1.0-linux-x86_64.tar.gz from https://github.com/bitcoin-core/HWI/releases/tag/3.1.0. Extract hwi
and run
./hwi enumerate
I managed to reproduce the issue on Fedora 39 and solved it by running
sudo dnf install libxcrypt-compat
(from https://tex.stackexchange.com/questions/493231/biber-missing-libcrypt-so-1-library-on-fedora)
Please let me know if this fixes it on your side.
rpm spec syntax
Requires: %{_libdir}/libcrypt.so.1
This syntax should automatically pull in necessary libgcrypt or compat package without knowing the package name within your distro.
Where is your rpm spec file? I couldn't find it so I didn't test this spec syntax.
Where is your rpm spec file?
The rpm spec file for Sparrow is automatically generated, but since this is a dependency for HWI, not Sparrow, it's not included.
The rpm spec file for Sparrow is automatically generated, but since this is a dependency for HWI, not Sparrow, it's not included.
Your end users don't know the difference between Sparrow and HWI. Your error message could detect this particular HWI failure and tell the user what they're missing, they should read a particular URL or something for instructions on how to fix it.
Your end users don't know the difference between Sparrow and HWI.
Yes, I'm aware of that - I was just explaining the situation. This appears to be a recent change in HWI. I'm still considering how to address it.
What was the fix for this? Getting:
[634028] Error loading Python lib '/tmp/_MEIQfozMe/libpython3.9.so.1.0': dlopen: libcrypt.so.1: cannot open shared object file: No such file or directory
Already ran/installed:
sudo dnf install libxcrypt-compat
Running Fedora 41.
Yes, that was/is the fix. Did it install without issues? Here's the Fedora 41 rpm: https://fedora.pkgs.org/41/fedora-x86_64/libxcrypt-compat-4.4.36-7.fc41.i686.rpm.html
It installed without issue but the error/issue persists.
[634028] Error loading Python lib '/tmp/_MEIQfozMe/libpython3.9.so.1.0': dlopen: libcrypt.so.1: cannot open shared object file: No such file or directory
With libxcrypt-compat installed.
Difficult to say exactly, but it sounds like it there may be an issue loading the library. I recommend trying to find the libcrypt.so.1
file, and then making sure the system can load it with ldd /path/to/libcrypt.so.1
.
sparrow-2.0.0-1.x86_64.rpm installed on Fedora 40 x86-64 can't dlopen libcrypt.so.1 so HWI does not work.
sparrow-1.9.1-1.x86_64.rpm works fine. Unclear what is different between the two builds.