Re: Postgres 7.1RC1 on Solaris 7

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Ahmed Moustafa <ahmed(dot)moustafa(at)bigfoot(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Postgres 7.1RC1 on Solaris 7
Date: 2001-04-04 19:19:36
Message-ID: Pine.LNX.4.30.0104042117380.1378-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ahmed Moustafa writes:

> 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

You need to set the LD_LIBRARY_PATH environment variable to include the
location where libz is installed, e.g.,

LD_LIBRARY_PATH=/usr/local/lib
export LD_LIBRARY_PATH

... or whichever method to configure the dynamic linker you prefer. I'll
update FAQ_Solaris about this.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Gregory Wood 2001-04-04 19:27:08 Re: php Compile question
Previous Message Peter Eisentraut 2001-04-04 19:17:17 Re: Postgres 7.1RC1 on Solaris 7