Skip to content
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

EBImage failing in 3.20 #112

Open
almahmoud opened this issue Nov 6, 2024 · 4 comments
Open

EBImage failing in 3.20 #112

almahmoud opened this issue Nov 6, 2024 · 4 comments

Comments

@almahmoud
Copy link
Collaborator

EBImage is failing in 3.20 with

Error in dyn.load(file, DLLpath = DLLpath, ...) :
  unable to load shared object '/usr/local/lib/R/site-library/tiff/libs/tiff.so':
  libtiff.so.5: cannot open shared object file: No such file or directory

Likely due to missing sysdep, but noting here to look into it later

almahmoud added a commit to almahmoud/scdneySpatial_BiocAsia2024 that referenced this issue Nov 6, 2024
almahmoud added a commit to almahmoud/scdneySpatial_BiocAsia2024 that referenced this issue Nov 6, 2024
@almahmoud
Copy link
Collaborator Author

ln -s /usr/lib/x86_64-linux-gnu/libtiff.so.6 /usr/lib/x86_64-linux-gnu/libtiff.so.5 seems to bypass the issue. Uninstalling libtiff6-dev and only installing libtiff5-dev doesn't work, libtiff5-dev seems to always come with libtiff6. Haven't looked too much into it though

@vjcitn
Copy link

vjcitn commented Nov 7, 2024

Within the 3.20 container, I got EBImage to install by installing the CRAN source package for tiff with R CMD INSTALL prior to BiocManager::install("EBImage")

wget https://cran.r-project.org/src/contrib/tiff_0.1-12.tar.gz
R CMD INSTALL tiff_0.1-12.tar.gz
# now in R use BiocManager::install("EBImage")

@almahmoud
Copy link
Collaborator Author

Good catch... I think the issue is that it's trying to use a wrong binary

@grimbough
Copy link

I just ran into this issue and wondered if there was any update. Can the tiff package binary be rebuilt to link against the correct version of libtiff? I'm not sure I understand whose responsbility it is to build the binaries of CRAN packages that are distgrubuted by Bioconductor. Happy to report this elsewhere if appropriate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants