Re: Postgres 7.1RC1 on Solaris 7

David George <david@onyxsoft.com>

From: David George <david@onyxsoft.com>
To: Ahmed Moustafa <ahmed.moustafa@bigfoot.com>
Cc: pgsql-general@postgresql.org
Date: 2001-04-04T22:01:28Z
Lists: pgsql-general
Ahmed Moustafa wrote:

> Hi Tom,
>
> I did the test by hand and here is the output:
>
> bash-2.03# echo "int main() { return 0; }"  >conftest.c
> bash-2.03# gcc -o conftest conftest.c -lz -lresolv -lgen -lnsl -lsocket -ldl
> -lm
> bash-2.03# ./conftest
> ld.so.1: ./conftest: fatal: libz.so: open failed: No such file or directory
> Killed
> bash-2.03# ldd conftest
>         libz.so =>       (file not found)

Are you sure you have zlib?  Solaris 7 doesn't come with it.  Try doing a 'find /
-name libz.a -print'.  If it doesn't find anything you will need to download
zlib-1.1.3 from  ftp://ftp.freesoftware.com/pub/infozip/zlib/zlib-1.1.3.tar.gz

Hope this helps.

--
David