Ask a Question related to PERL Modules, Design and Development.
-
gpranoto@hotmail.com #1
Unable to load module
Hi,
I had to do a workaround during installation of a Perl module. Since
the client's machine does not permit installation of a C compiler, I
had to compile the module on another machine running the same OS and
Perl. I copied the pm file and directory under lib and auto. This
method seems to work. However it works only for the user who is the
owner of the *.pm and module directory under auto. When trying to run
a script using the module as a different user it gave me this error
Can't load
'/usr/opt/perl5/lib/site_perl/5.8.0/aix-thread-multi/auto/Essbase/Essbase.so'
for module Essbase: The file access permissions do not allow the
specified action. at
/usr/opt/perl5/lib/5.8.0/aix-thread-multi/DynaLoader.pm line 229.
at test_scb.pl line 27
Compilation failed in require at test_scb.pl line 27.
BEGIN failed--compilation aborted at test_scb.pl line 27.
Has anyone seen anything similar to this?
Regards,
Gerd
gpranoto@hotmail.com Guest
-
#26129 [Opn->Bgs]: Unable to load dynamic module
ID: 26129 Updated by: sniper@php.net Reported By: gman at speakeasy dot net -Status: Open +Status: ... -
#26129 [Opn]: Unable to load dynamic module
ID: 26129 User updated by: gman at speakeasy dot net Reported By: gman at speakeasy dot net Status: Open Bug Type: ... -
#26129 [NEW]: Unable to load dynamic module
From: gman at speakeasy dot net Operating system: WinXP Pro PHP version: 4.3.4 PHP Bug Type: Dynamic loading Bug... -
#15229 [Com]: unable to load dynamic module
ID: 15229 Comment by: deadlysix at deadlysix dot com Reported By: dev at myesys dot com Status: Closed Bug... -
Can't load DBI module
I used REdhat Linux 7.2 for PostgreSQL 7.1.3 database I installed DBI and DBD modules without problem. But when I test it by PER_DL_DEBUG=255... -
nobull@mail.com #2
Re: Unable to load module
[email]gpranoto@hotmail.com[/email] wrote:
If you'll excuse the blindingly obvious, have you checked the> [...] it works only for the user who is the
> owner of the *.pm and module directory under auto. When trying to run
> a script using the module as a different user it gave me this error
>
> Can't load
> '/usr/opt/perl5/lib/site_perl/5.8.0/aix-thread-multi/auto/Essbase/Essbase.so'
> for module Essbase: The file access permissions do not allow the
> specified action. at
> /usr/opt/perl5/lib/5.8.0/aix-thread-multi/DynaLoader.pm line 229.
> at test_scb.pl line 27
permissions on
/usr/opt/perl5/lib/site_perl/5.8.0/aix-thread-multi/auto/Essbase/Essbase.so
(both the file and the directories)?
nobull@mail.com Guest
-
Gerd #3
Re: Unable to load module
Yes. Actually those are the first things I checked. Changed file and
directory permissions to 777. The error above came up after I changed
the permissions.
Gerd
Gerd Guest
-
nobull@mail.com #4
Re: Unable to load module
Gerd wrote:
What things? Please quote sufficient contrext.> Yes. Actually those are the first things I checked.
This may be some weird AIX security thing. Perhaps it refuses to> Changed file and
> directory permissions to 777. The error above came up after I changed
> the permissions.
execute globally writable files.
nobull@mail.com Guest
-
Gerd #5
Re: Unable to load module
Hi,
We finally solved the problem. You were right, it was due to
permissions. We overlooked the permission of some of the libraries not
located under perl. Once set to 755, it started working. Thanks for
your replies.
Regards,
Gerd
Gerd Guest



Reply With Quote

