1753903 Members
9786 Online
108810 Solutions
New Discussion юеВ

perl module install

 
SOLVED
Go to solution
Scott Van Kalken
Esteemed Contributor

perl module install

I've got a perl module.

I get the following error when I try to run it:

Can't load '/opt/perl/lib/5.6.1/mymodule.sl' for module mymodule: Permission denie
d at /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/DynaLoader.pm line 206.
at a.pl line 2
Compilation failed in require at a.pl line 2.
BEGIN failed--compilation aborted at a.pl line 2.


Any ideas about where the hell I'm supposed to put the .sl file?
5 REPLIES 5
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: perl module install

The *.sl's should be 755 and make sure that you have r-x on the directory paths down to the .sl files.
If it ain't broke, I can fix that.
Scott Van Kalken
Esteemed Contributor

Re: perl module install

you're all legends.

Had I have read **ALL** of the posts, I would have seen that the .sl needs to be 755.

Thanks everyone.

A. Clay Stephenson
Acclaimed Contributor

Re: perl module install

Check the permissions of the file. You may have installed as root with too restrictive a setting for umask.
If it ain't broke, I can fix that.
Scott Van Kalken
Esteemed Contributor

Re: perl module install

hmmmmmm

permissions are 666....

any ideas?
Michael Tully
Honored Contributor

Re: perl module install

Go and see the perl guru (procura aka merijn) at his web site:

https://www.beepz.com/personal/merijn/

He has got plenty of perl stuff here.

HTH
Michael
Anyone for a Mutiny ?