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

From Peter Eisentraut
Subject Re: Postgres 7.1RC1 on Solaris 7
Date
Msg-id Pine.LNX.4.30.0104042117380.1378-100000@peter.localdomain
Whole thread Raw
In response to Postgres 7.1RC1 on Solaris 7  (Ahmed Moustafa <ahmed.moustafa@bigfoot.com>)
List 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@gmx.net       http://yi.org/peter-e/


pgsql-general by date:

Previous
From: "Gordon A. Runkle"
Date:
Subject: Re: php Compile question
Next
From: Peter Eisentraut
Date:
Subject: Re: Postgres 7.1RC1 on Solaris 7