Solve GnuPG and GraphViz errors

Hi,

After a new install rt4 I see this different errors on logs:

Could not load RT::Crypt::GnuPG: Can't locate GnuPG/Interface.pm in @INC (@INC contains: /opt/rt4/sbin/../local/lib /opt/rt4/sbin/../lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /opt/rt4/sbin/../lib/RT/Crypt/GnuPG.pm line 61.
BEGIN failed--compilation aborted at /opt/rt4/sbin/../lib/RT/Crypt/GnuPG.pm line 61.
Compilation failed in require at /opt/rt4/sbin/../lib/RT/Crypt.pm line 265. (/opt/rt4/sbin/../lib/RT/Crypt.pm:268)

[4603] [Tue Aug  6 15:30:56 2019] [debug]: You've enabled GraphViz, but we couldn't load the module: Can't locate GraphViz.pm in @INC (@INC contains: /opt/rt4/sbin/../local/lib /opt/rt4/sbin/../lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /opt/rt4/sbin/../lib/RT/Config.pm line 721. (/opt/rt4/sbin/../lib/RT/Config.pm:722)
[4603] [Tue Aug  6 15:30:56 2019] [debug]: Using internal Perl HTML -> text conversion (/opt/rt4/sbin/../lib/RT/Interface/Email.pm:1479)

[4603] [Tue Aug  6 15:30:56 2019] [error]: You enabled GnuPG, but we couldn't load module RT::Crypt::GnuPG (/opt/rt4/sbin/../lib/RT/Config.pm:774)

Aug  6 17:30:56 SRV01 RT: [4603] You enabled GnuPG, but we couldn't load module RT::Crypt::GnuPG

There’s any workarround to solve it? How can I disable both errors?

Install the Perl modules GnuPG::Interface and GraphViz? From the command line you could use cpanm:

cpanm GnuPG::Interface
cpanm GraphViz

If you don’t have cpanm on your machine, use:

perl -MCPAN -e shell

and install the modules from there.

both are intalled yet:

[root@SRV01 ~]# cpanm GnuPG::Interface
GnuPG::Interface is up to date. (0.52)
[root@SRV01 ~]# cpanm GraphViz
GraphViz is up to date. (2.24)

You should confirm that the Perl cpanm is installing for is the same Perl used to configure RT