Forum OpenACS Q&A: Re: Request Error: Server startup failed

Posted by russ m on

(assuming this is on a solaris box)

run ldd /usr/local/aolserver/bin/ and take a look at the output. if there's a line that says => (file not found) then this is your problem -

that error message means that when the dynamic loader is loading it can't find the required - this would be because /usr/local/pgsql/lib is neither in the compiled-in RPATH or the environment LD_LIBRARY_PATH...

the solutions are to recompile with LD_OPTIONS='-R/usr/local/pgsql/lib' set in your environment (this fixes your so that it knows where to find it's dependancies) or alternatively to use your existing binary but make sure that /usr/local/pgsql/lib is included in the aolserver's LD_LIBRARY_PATH environment variable...