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

Unable to load immunedeconv #148

Open
malonzm1 opened this issue Jun 21, 2023 · 12 comments
Open

Unable to load immunedeconv #148

malonzm1 opened this issue Jun 21, 2023 · 12 comments
Labels
bug Something isn't working

Comments

@malonzm1
Copy link

malonzm1 commented Jun 21, 2023

Hi,

When I try to load immunedeconv, I get the following error message:

library(immunedeconv)
Loading required package: EPIC
Error: package or namespace load failed for ‘immunedeconv’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/R/x86_64-pc-linux-gnu-library/4.1/Matrix/libs/Matrix.so':
/R/x86_64-pc-linux-gnu-library/4.1/Matrix/libs/Matrix.so: undefined symbol: libintl_dgettext

Please advise.

Thanks and good day.

@malonzm1 malonzm1 added the bug Something isn't working label Jun 21, 2023
@mlist
Copy link
Collaborator

mlist commented Jun 21, 2023

Have you tried to load the package in a clean R session?

@malonzm1
Copy link
Author

Thanks. I'm not sure what a clean R session is but library(immunedeconv) was the first command I entered.

@mlist
Copy link
Collaborator

mlist commented Jun 21, 2023

In Rstudio this would be session - restart R session.

@malonzm1
Copy link
Author

I think it was a clean session since I just opened R in the terminal when I entered the command.

@mlist
Copy link
Collaborator

mlist commented Jun 21, 2023

How did you install immunedeconv? We highly recommend using conda for installation as this leads to a standardized environment which works out more often than the R package installation where sometimes missing system packages or R package incompatibilities cause problems.

@malonzm1
Copy link
Author

I installed it with conda install -c bioconda -c conda-forge r-immunedeconv as shown in https://omnideconv.org/immunedeconv/.

@mlist
Copy link
Collaborator

mlist commented Jun 21, 2023

just to be sure, did you activate the environment prior to loading the package?

@malonzm1
Copy link
Author

Yes.

@alex-d13
Copy link

Hi,

it looks like the Matrix package might not have been installed correctly. Could you try to re-install it with install.packages("Matrix")?
(Similar to this issue: https://stackoverflow.com/questions/38943764/r-error-in-dyn-loadfile-dllpath-dllpath)

@malonzm1
Copy link
Author

The new error is the following:

library(immunedeconv)
Loading required package: EPIC
Error: package or namespace load failed for ‘immunedeconv’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/R/x86_64-pc-linux-gnu-library/4.1/stringi/libs/stringi.so':
libicui18n.so.67: cannot open shared object file: No such file or directory

@alex-d13
Copy link

Ok, so a different package is also not installed correctly (stringi).

I am not sure this is a immunedeconv issue, it seems like there might have been some things that went wrong during the installation of packages that immunedeconv depends on.

@LorenzoMerotto
Copy link
Collaborator

LorenzoMerotto commented Jun 21, 2023

In this case I would try to install immunedeconv in a normal R session, without using conda, and see if the problem persists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants