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

It seems the module uses some rather unconventional directory layout, so maybe you need to set LD_LIBRARBY_PATH to point to the directory where the .so file lives...  (Update: see also What entries do I need for STAF in my /etc/profile file if I am using the STAF tar.gz installation?)

If you provide a link where I can download the module sources, I might take a closer look (I don't seem to find the module on CPAN, and neither do I find a dedicated download link for the module on staf.sourceforge.net... — or does it ship as part of the regular STAF tarball?)

  • 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:28 UTC
    Yes. It's a part of STAF tar ball

      Okay, took a quick look, and apparently, the install script does some mangling of LD_LIBRARY_PATH, etc. (see function CreateScript() in STAFInst).  So, that makes me wonder if you maybe did not run that script and are trying to use the Perl files as they ship (?)

      BTW, the module uses XSLoader (not DynaLoader directly) — in case you want to check the docs for the details...

        I installed through STAFInst. It said Success.
Re^4: Not able to load module though @INC contains it
by chilukuri_perl (Novice) on Nov 30, 2009 at 14:37 UTC
    Yes.STAF tar ball contains the module