Forum OpenACS Q&A: Response to libpq.so.2 is not working for 80 port

This is the main error:

[30/Jul/2001:17:34:05][7838.1024][-main-] Warning: modload: failed to load '/usr/local/aolserver/bin/postgres.so': 
'libpq.so.2: cannot load shared object file: No such file or directory'

I did this later:
[root@localhost aol32]# cd /usr/lib
[root@localhost lib]# ln -s /usr/local/pgsql/lib/libpq.so.2.1 libpq.so.2
[root@localhost lib]# ls -la libpq*
lrwxrwxrwx    1 root     root           33 Jul 30 17:41 libpq.so2 -> /usr/local/pgsql/lib/libpq.so.2.1

Then run the server again and the error was different

[30/Jul/2001:17:48:28][7924.1024][-main-] Warning: modload: failed to load '/usr/local/aolserver/bin/postgres.so':
'libpq.so.2: cannot load shared object file: Permission denied'

remember that I have:
[root@localhost aol32]# ls -la /usr/local/pgsql/lib/libpq.so.2.1
-rwxrwxrwx    1 postgres web         63168 Jun 29 23:15 
/usr/local/pgsql/lib/libpq.so.2.1


any clues???