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

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

by bellaire (Hermit)
on Nov 30, 2009 at 14:02 UTC ( #810165=note: print w/replies, xml ) Need Help??


in reply to Not able to load module though @INC contains it

Unless my eyes are playing tricks on me, it looks like you don't have that path in @INC after all.
(@INC contains: /export/home/bin ... ) ^^^
However your listing shows:
/export/home/inmabisa/bin> ls *.pm* ^^^

Replies are listed 'Best First'.
Re^2: Not able to load module though @INC contains it
by chilukuri_perl (Novice) on Nov 30, 2009 at 14:26 UTC
    Please forget about 'inmabisa'. I edited 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.
        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.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2019-10-18 12:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?