in reply to Can't locate loadable object for module DBD::Sybase in @INC

There's an ActiveState binary for DBD::Sybase at http://www.peppler.org/downloads/ActiveState

Michael

  • Comment on Re: Can't locate loadable object for module DBD::Sybase in @INC

Replies are listed 'Best First'.
Re^2: Can't locate loadable object for module DBD::Sybase in @INC
by Anonymous Monk on Jun 07, 2005 at 08:35 UTC
    I found a .ppd for DBD-Sybase here:
    http://crazyinsomniac.perlmonk.org/perl/ppm/5.8/DBD-Sybase.ppd

    I am now able to make a connection and run a query using DBD-Sybase.

    However, I get the following warning every time my script executes:

    The context allocation routine failed. The following problem caused the failure: Invalid context version.

    Any idea what might be causing this?

    Thanks

      Most likely problem is an incompatibility between the Sybase client library version that is installed on your system and the libraries used when building the ppd.

      You need to have a version of the libraries installed that is at least as recent as the libs used for the build - my guess is that you need a 12.5 of some description, possibly even 12.5.1.

      Michael

Re^2: Can't locate loadable object for module DBD::Sybase in @INC
by c6ackp (Novice) on Jun 06, 2005 at 19:56 UTC

    Michael

    I think my ActiveState ppm install is not working because DBD-Sybase.zip is missing from the zip/8xx directory on ppm.activestate.com.

    It's in the 6xx directory, but I'm using v5.8.6 and I don't know how to point ppm back to the 6xx location.

    Who should I contact to get DBD-Sybase.zip inserted into the 8xx directory?

    Many thanks

      I don't think that you'll get anyone at ActiveState to put the .zip back in the 5.8.x tree. I suspect that maintaining this (and possibly copyright issues) stop them from doing so (IIRC DBD::ORacle isn't there either.)

      The packages on my server do work and can be installed (though I forget the exact incantation that is necessary - I don't do windows myself... :-)

      Michael