> Tom Lane writes:
> > selkovjr@mcs.anl.gov writes:
...
> > SunOS typhoon 5.7 Generic_106541-10 sun4u sparc SUNW,Ultra-1
>
> > on which configure didn't detect the absence of libz.so
>
> Really? Details please. It's hard to see how it could have messed
> up on that.
Tom,
I didn't look well enough -- I apologize. The library is there, but
ld.so believes it is not:
typhoon> postmaster
ld.so.1: postmaster: fatal: libz.so: open failed: No such file or directory
Killed
This may very well be just my ISP's problem.
Anyway, the details are:
1. My (relevant) environment:
LD_LIBRARY_PATH=/usr/openwin/lib:/usr/lib:/usr/ucblib:/usr/ccs/lib
PGLIB=/home/customer/selkovjr/pgsql/lib
PGDATA=/home/customer/selkovjr/pgsql/data
PATH=/usr/local/vendor/SUNWspro/bin:/usr/local/bin:/usr/local/gnu/bin:/usr/local/GNU/bin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/ucb:/etc:/usr/etc:/usr/openwin/bin:/home/customer/selkovjr/bin:./usr/local/bin::/home/customer/selkovjr/pgsql/bin
2. I built postgres (from the snapshot of Jan 13) with:
./configure --prefix=/home/customer/selkovjr/pgsql
make
make install
3. initdb worked.
4. The library in question is in /usr/openwin/lib:
typhoon> ls -l /usr/openwin/lib | grep libz
-rwxr-xr-x 1 root bin 97836 Sep 23 1999 libz.a
-rwxr-xr-x 1 root bin 70452 Sep 23 1999 libz.so.1
I can't think of anything else. Is there a one-liner to test libz? I
believe I have successfully tested and run 6.5.3 in the same
environment.
--Gene