Re: Postgresql on 64bit Debian 4.0: libz.so.1 => not found

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: Ralf Strandell <ralf(dot)strandell(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Postgresql on 64bit Debian 4.0: libz.so.1 => not found
Date: 2007-08-02 14:35:58
Message-ID: 1186065358.10227.82.camel@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Thu, 2007-08-02 at 15:01 +0300, Ralf Strandell wrote:
> I need to get Postgresql installed on 64bit Debian 4.0.
>
> Postgresql was installed as a part of the Trend IWSS web security
> suite, but Postgresql doesn't seemt to work on 64bit Debian 4.
>
> What happens is:
>
> # /usr/iwss/PostgreSQL/bin
> /postgres
> /usr/iwss/PostgreSQL/bin/postgres: error while loading shared
> libraries: libz.so.1: cannot open shared object file: No such file or
> directory
...
> The libz.so.1 DOES exists at /usr/lib/libz.so.1 but Postgresql
> apparently cannot use it.

$ dlocate libz.so.1
zlib1g: /usr/lib/libz.so.1.2.3
zlib1g: /usr/lib/libz.so.1

/usr/lib/libz.so.1 is a symbolic link (to /usr/lib/libz.so.1.2.3 in my
case -- Ubuntu). Does its target exist? Try reinstalling zlib1g
(apt-get --reinstall install zlib1g).

--
Oliver Elphick olly(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
GPG: 1024D/A54310EA 92C8 39E7 280E 3631 3F0E 1EC0 5664 7A2F A543 10EA
========================================
Do you want to know God? http://www.lfix.co.uk/knowing_god.html

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Chirag Patel 2007-08-03 20:35:56 horizontal clustering?
Previous Message Ralf Strandell 2007-08-02 12:01:28 Postgresql on 64bit Debian 4.0: libz.so.1 => not found