Re: [GENERAL] Postgres 7.1RC1 on Solaris 7

2001-04-07 Thread Peter Eisentraut
Justin Clift writes: > It doesn't seem to have been mentioned that the preferable way to > compile PostgreSQL on Solaris is to unset your LD_LIBRARY_PATH and set > an LD_RUN_PATH instead. > > That is right isn't it? Not really. You don't need to set either of these variables. In the problem th

RE: [GENERAL] Postgres 7.1RC1 on Solaris 7

2001-04-07 Thread Ahmed Moustafa
al Message- From: Martín Marqués [mailto:[EMAIL PROTECTED]] Sent: Friday, April 06, 2001 9:22 AM To: Ahmed Moustafa; Tom Lane Cc: [EMAIL PROTECTED] Subject: Re: [GENERAL] Postgres 7.1RC1 on Solaris 7 On Friday 06 April 2001 06:20, Ahmed Moustafa wrote: > Tom, > > I set LD_LIBRARY_PATH

Re: [GENERAL] Postgres 7.1RC1 on Solaris 7

2001-04-07 Thread Justin Clift
Hi, It doesn't seem to have been mentioned that the preferable way to compile PostgreSQL on Solaris is to unset your LD_LIBRARY_PATH and set an LD_RUN_PATH instead. That is right isn't it? Regards and best wishes, Justin Clift Ahmed Moustafa wrote: > > Hi Tom, > > I did the test by hand and

Re: [GENERAL] Postgres 7.1RC1 on Solaris 7

2001-04-06 Thread Martín Marqués
On Friday 06 April 2001 06:20, Ahmed Moustafa wrote: > Tom, > > I set LD_LIBRARY_PATH in root's .profile and I still get the same error. > Do I need to set somewhere else, please? I had the same problem. It's because Solaris isn't reading the .bashrc, .profile or what ever. Solution: ln -s /usr

Re: [GENERAL] Postgres 7.1RC1 on Solaris 7

2001-04-04 Thread Ahmed Moustafa
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, thank

Re: [GENERAL] Postgres 7.1RC1 on Solaris 7

2001-04-04 Thread David George
Ahmed Moustafa wrote: > Hi Tom, > > I did the test by hand and here is the output: > > 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 f

Re: [GENERAL] Postgres 7.1RC1 on Solaris 7

2001-04-04 Thread Ahmed Moustafa
Hi Tom, I did the test by hand and here is the output: 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 Killed

Re: [GENERAL] Postgres 7.1RC1 on Solaris 7

2001-04-04 Thread Ahmed Moustafa
Hi Peter, Changing line 6846 gave me the same error message. Ahmed Peter Eisentraut wrote: > Ahmed Moustafa writes: > > > Hi, > > > > I downloaded Postgres 7.1RC1 from > > ftp://ftp.postgresql.org/pub/dev/postgresql-7.1RC1.tar.gz. When I did > > ./configure, I got a error with the test program

Re: [GENERAL] Postgres 7.1RC1 on Solaris 7

2001-04-04 Thread Ahmed Moustafa
Hi Peter, I did the test by hand and here is the output: 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 Kill

Re: [GENERAL] Postgres 7.1RC1 on Solaris 7

2001-04-04 Thread Peter Eisentraut
Tom Lane writes: > (Peter, shouldn't we suggest to the autoconf boys that that output > ought to go into config.log?) It seems your request has already been heard. In general, the config.log files from Autoconf 2.50 are a *lot* better, e.g., they actually include the result of the test. Should

Re: [GENERAL] Postgres 7.1RC1 on Solaris 7

2001-04-04 Thread Peter Eisentraut
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_LIBRA

Re: [GENERAL] Postgres 7.1RC1 on Solaris 7

2001-04-04 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > Ahmed Moustafa writes: >> I downloaded Postgres 7.1RC1 from >> ftp://ftp.postgresql.org/pub/dev/postgresql-7.1RC1.tar.gz. When I did >> ./configure, I got a error with the test program. I could not figure out >> the problem. Would you take a look at t

Re: [GENERAL] Postgres 7.1RC1 on Solaris 7

2001-04-04 Thread Peter Eisentraut
Ahmed Moustafa writes: > Hi, > > I downloaded Postgres 7.1RC1 from > ftp://ftp.postgresql.org/pub/dev/postgresql-7.1RC1.tar.gz. When I did > ./configure, I got a error with the test program. I could not figure out > the problem. Would you take a look at the config.log > (http://www.photo.net/user