Forum OpenACS Q&A: Response to aolserver running crazy...

Collapse
Posted by David Kuczek on
This is weird. The error that came up first when I started aolserver after I started postgres was:

"libpq.so.2.1: cannot open shared object file"

so I read through Don's docs and found

"If you are running PG 7, make a symbolic link from libpq.so.2.0 pointing to libpq.so.2.1 because AOLserver looks for libpq.so.2.0 when loading the driver:

cd /usr/local/pgsql/lib
ln -s libpq.so.2.1 libpq.so.2.0 (as user postgres)

but I couldn't creat the link as user postgres (no permission) so I just created it as root. Now it works again...

But why did it work yesterday? Did anyone stole that link 😊? no really? And why do I have to set the link as user postgres?