The following bug has been logged online:
Bug reference: 4884
Logged by: William Chu
Email address: wchu(at)facorelogic(dot)com
PostgreSQL version: 7.4.5
Operating system: RedHat Enterprise 5.3
Description: Misleading error message
Details:
The following error message occurs when the IP address is not present in the
pg_hba.conf. The error message is misleading and should actually say
something to the effect, "Connection refused due to lack of access
permission".
java.io.IOException: An SQL exception occurred: ERROR: could not load
library "/usr/local/pgsql/lib/libpostgis.so.0.9": libgeos.so.2: cannot open
shared object file: No such file or directory