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.
There is no such file in the Postgres source code. The version of Postgres you are using may have been modified and includes this file, then If you should report this issue there.