-
Notifications
You must be signed in to change notification settings - Fork 42
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
Incomplete installation dependencies #64
Comments
These should install along the with the other packages as dependencies, what setup are you running? |
Just the standard setup as described in your readme, within a docker image:
All other deps recognized perfectly fine. I double checked now and I see that libgfortran5 indeed installed in the conda environment, but I don't see how DAlphaBall.gcc is supposed to find it? Conda env activation does not set LD_LIBRARY_PATH, and DAlphaBall.gcc is an externally provided binary and can't possibly know where the conda env will be located. Maybe I understand something wrong, but it definitely isn't working as-is. If I remove the libgfortran in the system lib folder, it stops working. I see now I can make it work by explicitly setting LD_LIBRARY_PATH to where conda installs it, but that would also require altering the setup file.
DAlphaBall.gcc itself looks for the libs only in the standard locations as defined by the operating system, and this very specific path from the machine where it was compiled:
|
Unfortunately I have no experience with Docker and can't say how such a package will behave there, sorry :-/. In regular installs it does not seem to problem. You can search through the closed issues, there was someone who managed to do a docker install |
I understand what you mean. It's not a docker thing though in this case, it's just a matter whether libgfortran5 already exists on the host system or not, regardless of whether the system is used directly or via docker. I double-checked this now on multiple distributions (ubuntu22, debian12, centos7, alpine3.2) - only Debian had libgfortran5 preinstalled. Others gave the same error as in the docker install from debian-slim (which doesn't have it). Most people will I guess simply notice that the library is missing when they try to run, and either install the missing lib or ask their IT to install the lib. Few will actually report it to the github repo, since it's faster to just fix and forget. But it is an undocumented dependency, and anyone starting with a distro without preinstalled libgfortran5 will run into the same error after installing BindCraft according to instructions. Google colab is based on Ubuntu22, but has a lot of additional things preinstalled, incl. libgfortran5. My thing is working, I'm just trying to help you make it simpler for all users to install, including the 95% of users who always stay silent. :) |
I see, thank you for the input! I will test some possibilities for the install of that with conda, as it is currently somewhat shaky :) |
Installation instructions should include also the dependencies of the compiled binaries, e.g. DAlphaBall.gcc requires libgfortran.so.5 and others:
ldd DAlphaBall.gcc
DAlphaBall.gcc:
linux-vdso.so.1 (0x00007fff3d9a0000)
libgmp.so.10 => /lib/x86_64-linux-gnu/libgmp.so.10 (0x00007f92b9909000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f92b982a000)
libgfortran.so.5 => not found
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f92b9649000)
/lib64/ld-linux-x86-64.so.2 (0x00007f92b998e000)
The text was updated successfully, but these errors were encountered: