Ahmed Moustafa <ahmed.moustafa@bigfoot.com> writes:
> When I do "/etc/init.d/postgres start" as a root, I get:
> ld.so.1: /usr/local/pgsql/bin/postmaster: fatal: libz.so: open failed: No such file
> or directory
I should think the answer would be fairly obvious: LD_LIBRARY_PATH isn't
set in your root environment.
regards, tom lane