Hi.
I propose to add in pg_env.sh line
export LD_LIBRARY_PATH=<pg_lib_dir>:$LD_LIBRARY_PATH
Postgres not need it but PgAdmin yes.