Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Not able to load module though @INC contains it

by bellaire (Hermit)
on Nov 30, 2009 at 14:29 UTC ( [id://810180]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Not able to load module though @INC contains it
in thread Not able to load module though @INC contains it

You edited what? ... In any event, it seems the problem is with your loadable module, not with @INC. So it's not terribly relevant, but having misleading information in the data you provided is certainly distracting.
  • Comment on Re^3: Not able to load module though @INC contains it

Replies are listed 'Best First'.
Re^4: Not able to load module though @INC contains it
by chilukuri_perl (Novice) on Nov 30, 2009 at 14:43 UTC
    That is the homepath name. So I changed it.
    Leaving that aside..
    I found another .pm and PERL5LIB is set to that.
    Now getting the following error.
    /export/home/inmabisa/STAF/lib/perl510> ls libPLSTAF.so /export/home/inmabisa/STAF/lib/perl510> perl -e "use PLSTAF;" Can't load '/export/home/inmabisa/STAF/lib/perl58/libPLSTAF.so' for mo +dule PLSTAF: ld.so.1: perl: fatal: /export/home/inmabisa/STAF/lib/per +l58/libPLSTAF.so: wrong ELF class: ELFCLASS64 at /usr/perl5/5.8.4/lib +/sun4-solaris-64int/DynaLoader.pm line 230. at -e line 1 Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1.

      You seem to have multiple installations of Perl (—> perl510 vs. perl58), and maybe something is getting mixed up...  What version does perl -v report?

      Also note that major Perl versions such as 5.8 vs. 5.10 are generally not binary (ABI) compatible, independent of potential issues with ELFCLASS64 (i.e. 32 vs. 64 bit).

        This is perl, v5.8.4 built for sun4-solaris-64int (with 31 registered patches, see perl -V for more detail)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://810180]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2024-04-18 15:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found