Patrick from Zill.net gave me a very valueable hint. He told me to test the libraries that psql was using:
ldd ~postgres/bin/psql
I found out that I was missing three devel rpms:
up2date readline-devel
#readline-devel-4.3-3.i386.r ########################## Done.
up2date libtermcap-devel
#libtermcap-devel-2.0.8-31.i ########################## Done.
up2date zlib
#zlib-devel-1.1.4-8.8x.i386. ########################## Done.
Then I did a "make distclean", "./configure", "make all" and "make install" on Postgres ... everything works now.
Little hint from me: Always install RH as defined in the openacs docs 😊 You will have less trouble...