in reply to "Can't locate loadable object .." error

You need to properly install the module including compiling the loadable modules which will link against libz. Follow the installation directions in the Compress::Zlib package. The README details what you need to do to install this module.

There is also a Compress::Zlib::Perl which should be able to just copy onto your webhost without doing any compilation. Note that it only partially implements the Compress::Zlib API so depends on what you are doing.

  • Comment on Re: "Can't locate loadable object .." error

Replies are listed 'Best First'.
Re^2: "Can't locate loadable object .." error
by Anonymous Monk on Nov 28, 2004 at 17:42 UTC
    So in short, this module is impossible for me to install on my webhost?
      That depends on the details of what your web host makes available to you and allows you to do on your own. Do they allow you to compile c programs? Do they have a policy against you compiling your own code? If they don't provide a c compiler, but don't mind what you install in your own space, you might find a precompiled copy of gcc somewhere and copy it to your account (assuming you have enough space to do so). You might even be lucky enough to find a precompiled version of Compress::ZLib somewhere and save yourself the hassle.

      --DrWhy

      "If God had meant for us to think for ourselves he would have given us brains. Oh, wait..."