padlocbio / padloc

Locate antiviral defence systems in prokaryotic genomes
MIT License
43 stars 9 forks source link

R/library/haven/libs/haven.so: undefined symbol: libiconv Execution halted #30

Closed Animesh911 closed 1 year ago

Animesh911 commented 1 year ago

(padloc) user:~/storage/tool/padloc-1.1.0/test$ ../bin/padloc --fna GCA_000218745.1.fa --cpu 8 --force [12:53:32] >> Predicting protein-coding genes with prodigal [12:53:35] >> Scanning GCA_000218745.1.fa for defence system proteins [12:54:49] >> Searching GCA_000218745.1.fa for defence systems Error: package or namespace load failed for ‘tidyverse’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/home/user/anaconda3/envs/padloc/lib/R/library/haven/libs/haven.so': /home/user/anaconda3/envs/padloc/lib/R/library/haven/libs/haven.so: undefined symbol: libiconv Execution halted [12:54:50] ERROR >> errexit on line 397

Hi, I am trying to execute padloc but it's giving 'undefined symbol' error. I also tried to install tidyverse but didn't work. Any help is greatly appreciated. Thanks

Animesh911 commented 1 year ago

It seems this issue is quite well-known and explained here.

It worked for me after removing haven (which also removed padloc) and reinstalling tidyverse and padloc.