Re: Unable to load perl file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Seems that apache is starting without the LD_LIBRARY_PATH correctly set. (look that the problem is that your ARS.so needs a library libicuucbmc.so.32 and it is not able to find it.

To solve, check what your LD_LIBRARY_PATH is in your command line (where your .pl works) and then Add/Modify the LD_LIBRARY_PATH environment variable it to your envvars file (located in your apache bin directory). Then restart apache, and it should work.

Best,


Antonio Vidal Ferrer
On 09/13/2010 10:52 AM, aparna aryan wrote:
Hello,

After adding the path in @INC, I am not receiving the file not found errors, How every I have started receiving the following error :

[Mon Sep 13 09:44:06 2010] [error] Can't load '/opt/pgm/perl/5.10.0/lib/site_perl/5.10.0/sun4-solaris-thread-multi/auto/ARS/ARS.so' for modul
e ARS: ld.so.1: httpd: fatal: libicuucbmc.so.32: open failed: No such file or directory at /usr/perl5/5.8.4/lib/sun4-solaris-64int/DynaLoader
.pm line 230.\n at /opt/app/ars/ovsd/perl/startup.pl line 4\nCompilation failed in require at /opt/app/ars/ovsd/perl/startup.pl line 4.\nBEGI
N failed--compilation aborted at /opt/app/ars/ovsd/perl/startup.pl line 4.\nCompilation failed in require at (eval 2) line 1.\n
[Mon Sep 13 09:44:06 2010] [error] Can't load Perl file: /opt/app/ars/ovsd/perl/startup.pl for server wihvcd1.sw.ericsson.se:0, exiting...

Please suggest me what needs to be done. Is there some thing missing from apache end?
Thanks in advance.

On Sun, Sep 12, 2010 at 2:14 PM, Rainer Jung <rainer.jung@xxxxxxxxxxx> wrote:
On 12.09.2010 06:50, aparna aryan wrote:
hi ,

When trying to restart the server, For the following error we
recieve...we have tried pasting the files that apache is giving " file
not found " in the path where the startup.pl <http://startup.pl> ie the

perl script is running.It is able to pic up from the current directory,
but it is unable to pic up the files from other locations,

can you please let me know how to add the path in @INC. or are there any
other ways to make the statup.pl <http://statup.pl> to check the files

in other locations apart from the current directory that it is running from.

mod_perl 1:

http://perl.apache.org/docs/1.0/guide/porting.html#_INC_and_mod_perl

additions for mod_perl 2:

http://perl.apache.org/docs/2.0/user/porting/compat.html#C__INC__Manipulation

General @INC info:

http://modperlbook.org/html/3-9-2-1-Modifying-INC.html

Specifics for mod_perl:

http://modperlbook.org/html/6-8-1-The-INC-Array-Under-mod_perl.html

Regards,

Rainer


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
 "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux