Wrong ELF class means you are trying to run a 32 bit module in a 64 bit Perl 
(or a 64 bit module in a 32 bit Perl).   In your case it looks like you 
compiled the ARS module as 32 bit.

Change to your directory with the ARS.so module (from below 
/opt/app/q1rba1z1/etc/bto/sys/ar/perl588/site/lib/auto/ARS) and issue the 
command   
   file ARS.so   
That will tell you if your ARS.so module is compiled as 32 or 64 bit.

Fred

-----Original Message-----
From: MIZELL, MICHELE
Sent: Wednesday, October 29, 2014 9:04 AM
To: [email protected]
Subject: [Arsperl-users] Error using ARSPerl

We have installed ARSPerl 1.93
When I try to run the perl script I get the following error:

$ perl CreateNew.pl
Can't load '/opt/app/q1rba1z1/etc/bto/sys/ar/perl588/site/lib/auto/ARS/ARS.so' 
for module ARS: 
/opt/app/q1rba1z1/etc/bto/sys/ar/perl588/site/lib/auto/ARS/ARS.so: wrong ELF 
class: ELFCLASS32 at /opt/app/q1rba1z1/etc/bto/sys/ar/perl588/lib/DynaLoader.pm 
line 230.
at CreateNew.pl line 24
Compilation failed in require at CreateNew.pl line 24.
BEGIN failed--compilation aborted at CreateNew.pl line 24. 

Environment Info:
1. OS (Linux) version (RHEL5_U10 64-bit)
2. Perl version (v5.8.8 built for x86_64-linux-thread-multi)
3. ARSystem version you are connecting to (7.6.04)
4. API version we compiled against (764sp1)
5. ARSperl version (1.93)

We have 2 instances of perl installed both are v5.8.8  we are trying to run the 
script using the non-root owned instance but im not able to verify the version 
of that perl instance so im not sure if my perl installation is causing the 
wrong ELF class: ELFCLASS32 error or is it the ARSPerl Module.
Any insight will be greatly appreciate.  Thanks.

Thanks,
Michele Mizell



------------------------------------------------------------------------------


--
Arsperl-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/arsperl-users

Reply via email to