dekkerlab / cworld-dekker

perl cworld module and collection of utility/analysis scripts for C data (3C, 4C, 5C, Hi-C)
Apache License 2.0
63 stars 20 forks source link

get error report when using heatmap.pl #6

Closed liencau closed 1 year ago

liencau commented 6 years ago

(perl /NAS4/lien/Hi-C/scripts_dekkerlab/cworld-dekker-master/scripts/perl/heatmap.pl -i K53000010.matrix.gz -i GM3000010.matrix.gz -o K5GM3000010median) I just want to test the script (heatmap.pl),but got error report. The error report: Can't load '/NAS7/home/caulien/bin/localperl/lib/site_perl/5.26.0//x86_64-linux/auto/GD/GD.so' for module GD: libiconv.so.2: cannot open shared object file: No such file or directory at /NAS7/home/caulien/bin/localperl/lib//5.26.0/x86_64-linux/DynaLoader.pm line 193. at /NAS7/home/caulien/bin/localperl/lib/site_perl/5.26.0//x86_64-linux/GD/Simple.pm line 160. Compilation failed in require at /NAS7/home/caulien/bin/localperl/lib/site_perl/5.26.0//x86_64-linux/GD/Simple.pm line 160. BEGIN failed--compilation aborted at /NAS7/home/caulien/bin/localperl/lib/site_perl/5.26.0//x86_64-linux/GD/Simple.pm line 160. Compilation failed in require at /NAS4/lien/Hi-C/scripts_dekkerlab/cworld-dekker-master/scripts/perl/heatmap.pl line 13. BEGIN failed--compilation aborted at /NAS4/lien/Hi-C/scripts_dekkerlab/cworld-dekker-master/scripts/perl/heatmap.pl line 13.

how can I deal with it? Thank you so much!

nandankita commented 6 years ago

I think you forgot to export PERL5LIB path in your bashrc file. Look at this section: https://github.com/dekkerlab/cworld-dekker/#building-and-installing-cworld