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 [EMAIL PROTECTED] http://yi.org/peter-e/
begin:vcard
n:Moustafa;Ahmed
x-mozilla-html:TRUE
url:http://www.bigfoot.com/~ahmed.moustafa
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
fn:Ahmed Moustafa
end:vcard
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly