简体   繁体   中英

libgsl.so.25: cannot open shared object file: No such file or directory

while installing DirichletMultinomial, in r studio found this error:-

Error: package or namespace load failed for 'DirichletMultinomial' in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/home/hpi7/R/x86_64-pc-linux-gnu-library/3.6/00LOCK-DirichletMultinomial/00new/DirichletMultinomial/libs/DirichletMultinomial.so': libgsl.so.25: cannot open shared object file: No such file or directory Error: loading failed

Depending of the OS you are using, you will need first to install the library GNU Scientific Library (GSL) (the development package).

On my Linux Mint machine, it is:

sudo apt-get install libgsl-dev

Then, you can install the package:

BiocManager::install("DirichletMultinomial")

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM