Forum OpenACS Q&A: Re: Problems Loading Postgres Drivers

Posted by bill kellerman on
This can be solved a couple of different ways...

Add the path '/usr/local/pgsql/lib' to your LD_LIBRARY_PATH shell variable before starting aolserver process (using "set" or "setenv" command depending on your shell).

Or add the path to the file /etc/ and then run the command

Neither of these worked for me (I was using freebsd though).  I made a
soft link from /usr/lib/ to the pgsql directory:

% ln -s /usr/local/pgsql/lib/ /usr/lib/

Make sure the user starting aolserver can read from this directory.