Re: Postgres 7.1RC1 on Solaris 7 - Mailing list pgsql-general

From David George
Subject Re: Postgres 7.1RC1 on Solaris 7
Date
Msg-id 3ACB99B8.6A07E7D7@onyxsoft.com
Whole thread Raw
In response to Re: Postgres 7.1RC1 on Solaris 7  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Postgres 7.1RC1 on Solaris 7
List 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


pgsql-general by date:

Previous
From: Ahmed Moustafa
Date:
Subject: Re: Postgres 7.1RC1 on Solaris 7
Next
From: Phuong Ma
Date:
Subject: performance inconsistency