1833053 Members
2487 Online
110049 Solutions
New Discussion

Perl 5.8.0

 
SOLVED
Go to solution

Perl 5.8.0

Hi

I have recently installed Perl5.8.0, but am receiving the following error when attempting to run a script which uses GD:

Can't load '/usr/local/lib/perl5/5.8.0/PA-RISC2.0/auto/GD/GD.sl' for module GD: No such file or directory at /usr/local/lib/perl5/5.
8.0/PA-RISC2.0/DynaLoader.pm line 229.

The path to GD.sl is valid, and the GD directory has 755 permissions, along with the files within.

Can anyone point me in the right direction as to how to resolve this?

Thanks,
Pete
3 REPLIES 3
Massimo Bianchi
Honored Contributor
Solution

Re: Perl 5.8.0

Look if shlib_path searching is enabled.

chatr

also look if the library Dynaloader.pm is located staically somewhere.

Massimo
H.Merijn Brand (procura
Honored Contributor

Re: Perl 5.8.0

What does

# chatr /usr/local/lib/perl5/5.8.0/PA-RISC2.0/auto/GD/GD.sl

tell you? It will show you the (shared) libraries it depends on. If either of those are not present or cannot be accessed, you will get above message.

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn

Re: Perl 5.8.0

I'd like to thank you both for your help, have now managed to sort the problem (missing dependencies) following your suggestions.

Pete