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

error while loading shared libraries: libgsl.so.25 #352

Closed
Qingru44004 opened this issue Dec 29, 2023 · 2 comments
Closed

error while loading shared libraries: libgsl.so.25 #352

Qingru44004 opened this issue Dec 29, 2023 · 2 comments

Comments

@Qingru44004
Copy link

Hi,

I used conda to install rmats. But when I run statistic part it shows me error:

miniconda3/envs/rmats3.9/rMATS/rMATS_C/rMATSexe: error while loading shared libraries: libgsl.so.25: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "miniconda3/envs/rmats3.9/rMATS/rMATS_P/FDR.py", line 53, in
ifile=open(sys.argv[1]);title=ifile.readline();
FileNotFoundError: [Errno 2] No such file or directory: 'rmats_post/tmp/JC_SE/rMATS_result_P-V.txt'
paste: rmats_post/tmp/JC_SE/rMATS_result_FDR.txt: No such file or directory

I tried to install gsl==2.5. But the error shows that rmats requires gsl>=2.7

Could not solve for environment specs
The following packages are incompatible
├─ gsl 2.5 is requested and can be installed;
├─ pin-1 is installable and it requires
│ └─ python 3.9.* , which can be installed;
└─ rmats is not installable because there are no viable options
├─ rmats [4.1.2|4.2.0] would require
│ └─ gsl >=2.7,<2.8.0a0 , which conflicts with any installable versions previously reported;

@EricKutschera
Copy link
Contributor

The rmats bioconda package expects to be installed with conda-forge dependencies and the conda-forge gsl-2.7 uses libgsl.so.25. Using -c conda-forge with conda install usually works, but conda might have a config value that prevents things from working correctly. conda config --show-sources can show the values and channel_priority: disabled could be causing the issue

See these posts:
#281
#300

@Qingru44004
Copy link
Author

Thanks! It solved my problem.

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

2 participants