-
Notifications
You must be signed in to change notification settings - Fork 6
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
Installing radian with mamba , cannot find libffi.so.7 #20
Comments
Manually downgrading to libffi version 3.3 allowed me to launch radian. Not sure if the conda-forge package needs it's dependencies changed, or if rchitect could use the libffi.so.8 API with minimal changes. |
I am not very familiar with conda package. @jdblischak do you have any idea? Do you need to trigger a new build for rchitect? |
@randy3k Do you know which versions of libffi/cffi are compatible with rchitect/radian? Currently the conda-forge recipe only specifies a minimal version of However, is libffi a build-time dependency for rchitect? Looking at |
I believe rchitect with work with any recent versions of cffi/libffi. rchitect does require cffi (hence libffi) in build time though. |
Ok. I think adding libcffi to the build dependencies in the rchitect recipe should be the way to fix this. It should pin libcffi to 3.3 to match the conda-forge pinnings. I might be able to get to this next week, but anyone can feel free to open the PR if they are eager. |
I returned to this today, and I realized my potential solution won't make a difference. libffi 3.4.2 is already being used, as evidenced in the most recent build log on the rchitect feedstock. Thus I attempted to reproduce the error, and I couldn't. Everything worked fine for me: mamba create --yes -n test-libffi -c conda-forge radian cffi libffi rchitect r-base
mamba activate test-libffi
mamba list ffi
## # Name Version Build Channel
## cffi 1.15.1 py310h255011f_0 conda-forge
## libffi 3.4.2 h7f98852_5 conda-forge
mamba list rchitect
## # Name Version Build Channel
## rchitect 0.3.37 py310h5764c6d_0 conda-forge
mamba list radian
## # Name Version Build Channel
## radian 0.6.3 pyhd8ed1ab_0 conda-forge
ls -1 $CONDA_PREFIX/lib/libffi.*
## $CONDA_PREFIX/lib/libffi.a
## $CONDA_PREFIX/lib/libffi.so
## $CONDA_PREFIX/lib/libffi.so.8
## $CONDA_PREFIX/lib/libffi.so.8.1.0
radian --version
## radian version: 0.6.3
## r executable: $CONDA_PREFIX/lib/R/bin/R
## r version: 4.2.1
## python executable: $CONDA_PREFIX/bin/python3.10
## python version: 3.10.6
radian
## R version 4.2.1 (2022-06-23) -- "Funny-Looking Kid"
## Platform: x86_64-conda-linux-gnu (64-bit)
##
## r$>
##
mamba deactivate
mamba env remove -n test-libffi After this, I realized that the error message wasn't about the version of libffi. It's about the shared library extension (
Questions for @elsherbini:
Question for @randy3k:
|
Any update on this? I was able to run radian with libffi 3.4.2. @elsherbini could you provide more information about the failing environment, e.g. |
Hello, on my academic cluster I installed radian with mamba, but get an error about not finding libffi.so.7 . the conda-forge packages libffi and cffi are installed. Howver, it looks like I have libffi.so.8 not libffi.so.7
The text was updated successfully, but these errors were encountered: