in reply to Dependencies of Dependencies

Thanks everyone for the help.

To clarify a bit. Right now my specific problem is with Parse::CSV requiring Text::CSV_XS.

They are both in my lib folder and both are used for various reasons in the script. However, Parse::CSV is dependent on Text::CSV_XS. I added the path to my lib folder in the various ways described in the original post.

As said before, the uses of Text::CSV_XS by the scripts are fine, but when Parse::CSV is called it tells me it can't find Text::CSV_XS.

Replies are listed 'Best First'.
Re^2: Dependencies of Dependencies
by moritz (Cardinal) on Oct 15, 2009 at 12:52 UTC

    Please try to be more specific - what's the full error message? In which path is CSV_XS.pm?

    Since it's an CS module, it also needs to find its C libraries. Did you just copy that? You might have to actually install it into the directory where you want it to be.

    Perl 6 - links to (nearly) everything that is Perl 6.

      Sorry.

      This is my file tree:
      (local)lib
      +auto
      |+Parse
      ||+CSV
      |||+.packlist
      |+Text
      ||+CSV_XS
      |||+.packlist
      |||+CSV_XS.bs
      |||+CSV_XS.dll
      |||+libCSV_XS.dll.a
      +Parse
      |+CSV.pm
      +Text
      |+CSV_XS.pm

      The error is: Can't locate loadable object for module Text::CSV_XS in @INC...

        And what's @INC? You truncated an interesting part of the error message...

        How did you install Text::CSV_XS?

        Perl 6 - links to (nearly) everything that is Perl 6.