in reply to Re^18: How to add path to @INC
in thread How to add path to @INC

Shall I uninstall Perl? and install it again? Or could be problmatic do that?

Try this  rm -rfv /home/uce/.cpan/build/GD-2.56-zwX4le

Then cpan GD

Replies are listed 'Best First'.
Re^20: How to add path to @INC
by TSN (Acolyte) on May 23, 2016 at 02:10 UTC
    rm -rfv /home/uce/.cpan/build/GD-2.56-zwX4le the folder was removed

    Than

    $ cpan GD CPAN: Storable loaded ok (v2.56) Reading '/home/uce/.cpan/Metadata' Database was generated on Sun, 22 May 2016 18:53:47 GMT CPAN: Module::CoreList loaded ok (v5.20160506) GD is up to date (2.56).

    Still doesn't work

    When I try to run :

    perl CLUMPAK.pl --id 6 --dir TESTE --file results.zip --clumpprepeats + 1000 Can't load '/usr/local/lib/perl5/site_perl/5.24.0/x86_64-linux/auto/GD +/GD.so' for module GD: /usr/local/lib/perl5/site_perl/5.24.0/x86_64-l +inux/auto/GD/GD.so: undefined symbol: PL_thr_key at /usr/local/lib/pe +rl5/5.24.0/x86_64-linux/DynaLoader.pm line 193. at BestKByEvannoAccessor.pm line 8. Compilation failed in require at BestKByEvannoAccessor.pm line 8. BEGIN failed--compilation aborted at BestKByEvannoAccessor.pm line 8. Compilation failed in require at CLUMPAK.pl line 18. BEGIN failed--compilation aborted at CLUMPAK.pl line 18.

      ..Still doesn't work

      force it, or did you forget? Yeah, I forgot

        it keeps saying
        Warning: No success on command[/usr/local/bin/perl Build.PL --installd +irs site] LDS/GD-2.56.tar.gz /usr/local/bin/perl Build.PL --installdirs site -- NOT OK Failed during this command: LDS/GD-2.56.tar.gz : writemakefile NO '/usr +/local/bin/perl Build.PL --installdirs site' returned status 512