Re: Postgres 7.1RC1 on Solaris 7

Ahmed Moustafa <ahmed.moustafa@bigfoot.com>

From: Ahmed Moustafa <ahmed.moustafa@bigfoot.com>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-general@postgresql.org
Date: 2001-04-04T21:22:16Z
Lists: pgsql-general

Attachments

Thanks a lot. Adding /usr/local/lib to the LD_LIBRARY_PATH solved the problem. But
now Webmin gives this error

"The PostgreSQL database on your system is version , but Webmin only supports
versions 6.5 and above."

Although, it was working with version 7.0.3. Is it Webmin's problem?

Again, thanks a lot for your help.



Peter Eisentraut wrote:

> 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/