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

missing Perl modules:GD #196

Closed
klcym opened this issue Jul 4, 2023 · 3 comments
Closed

missing Perl modules:GD #196

klcym opened this issue Jul 4, 2023 · 3 comments

Comments

@klcym
Copy link

klcym commented Jul 4, 2023

on CentOS7

MitoZ version:3.6

I use conda to install MitoZ

I ran the test , it also had the bug

It print :

missing GD error Can't load '/local_data/cym_home/software/miniconda3/envs/1_genome/lib/perl5/5.32/site_perl/auto/GD/GD.so' for module GD: /local_data/cym_home/software/miniconda3/envs/1_genome/lib/./libfontconfig.so.1: undefined symbol: FT_Done_MM_Var at /local_data/cym_home/software/miniconda3/envs/1_genome/lib/perl5/5.32/core_perl/DynaLoader.pm line 193. at (eval 41) line 1.Compilation failed in require at (eval 41) line 1. missing GD::Polyline error Attempt to reload GD.pm aborted.Compilation failed in require at /local_data/cym_home/software/miniconda3/envs/1_genome/lib/perl5/5.32/site_perl/GD/Polyline.pm line 45. All done!

Log messages from MitoZ (stdout and stderr, e.g., both m.log and m.err files)

mitoz.log

@klcym
Copy link
Author

klcym commented Jul 4, 2023

there is the related software version in my conda environment:
perl-gd 2.76 pl5321h5b5514e_1 bioconda
mitoz 3.6 pyhdfd78af_1 bioconda

@linzhi2013
Copy link
Owner

Hi @klcym ,

Indeed, this happened to me too before, and I couldn't figure it out even after I have spent a lot of time on it. So please try to figure it out by yourself, or you can try other installation methods.

The easiest way to install MitoZ is to use Apptainer/Singularity and Docker (or Udocker) MitoZ images, which can help you avoid a lot of potential installation troubles. The Conda-Pack version may also be helpful, because, unlike the usual Conda installation method, its tar file has packed all dependencies so there is no need to download them again from the website, and thus it can be useful if your network is not so good. Conda is a good tool but may NOT solve all dependency problems all the time. Tips: after your installation, always run the test dataset first to make sure that there is no installation problem. (From https://github.com/linzhi2013/MitoZ/wiki)

Good luck!

@klcym
Copy link
Author

klcym commented Jul 4, 2023

Thanks for your reply,

Fortunatly, this bug is just shown in the visualize module and other function can properly run. Anyway, MitoZ is an excellent software.👍

@klcym klcym closed this as completed Jul 4, 2023
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