[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Zlib



Reaz Baksh wrote:
> I have a program that needs Zlib installed.  I checked using dpkg and
> found that zlib1g and zlib1g-dev was installed.  Whenever I tried to use
> the program I get the following:  'Zlib support must be enabled on your
> server'.  How do I enable it even though dpkg says it is installed?
> 
> When I do 'which zlib' I get nothing. 

zlib is not a command, it is a library which programs may use.  If you
want to see it then you can list it like this.

  ls -lL /usr/lib/libz.so.1

Your information that it is installed means it is probably installed
fine.  From what you say your program wants configuration.  What
program are you talking about?  Remember that we can't read minds and
neither are we all seeing so if you don't say we won't know.

Lots of programs use libz.  Look at ssh for one example.

  ldd /usr/bin/ssh

        libutil.so.1 => /lib/libutil.so.1 (0x4001d000)
  -->   libz.so.1 => /usr/lib/libz.so.1 (0x40020000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x40030000)
        libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6 (0x40044000)
        libc.so.6 => /lib/libc.so.6 (0x40104000)
        libdl.so.2 => /lib/libdl.so.2 (0x40221000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Bob

Attachment: pgpw0IMwquunR.pgp
Description: PGP signature


Reply to: