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 [EMAIL PROTECTED] http://yi.org/peter-e/
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]
- [GENERAL] Postgres 7.1RC1 on Solaris 7 Ahmed Moustafa
- Re: [GENERAL] Postgres 7.1RC1 on Solaris 7 Peter Eisentraut
- Re: [GENERAL] Postgres 7.1RC1 on Solaris 7 Tom Lane
- Re: [GENERAL] Postgres 7.1RC1 on Solaris 7 Peter Eisentraut
- Re: [GENERAL] Postgres 7.1RC1 on Solaris 7 Ahmed Moustafa
- Re: [GENERAL] Postgres 7.1RC1 on Solaris... Peter Eisentraut
- Re: [GENERAL] Postgres 7.1RC1 on So... Ahmed Moustafa
- Re: [GENERAL] Postgres 7.1RC1 on Solaris 7 Ahmed Moustafa
- Re: [GENERAL] Postgres 7.1RC1 on Solaris... David George
- Re: [GENERAL] Postgres 7.1RC1 on Solaris... Justin Clift
- Re: [GENERAL] Postgres 7.1RC1 on So... Peter Eisentraut
- Re: [GENERAL] Postgres 7.1RC1 on Solaris 7 Ahmed Moustafa
- Re: [GENERAL] Postgres 7.1RC1 on Solaris 7 Mart�n Marqu�s
- RE: [GENERAL] Postgres 7.1RC1 on Solaris 7 Ahmed Moustafa
