|Date||Thu, 27 Oct 2005 16:36:37 -0700|
|Subject||[greenstone-devel] Solaris installation problem|
I am trying to install Greenstone on our SUN Sparc machine, running
Solaris 9. So far, this has been a long series of miseries, but I am
almost there, maybe...
The program seems to run OK from the command line, i.e.
../gsdl/cgi-bin/library actually produces results, IF the user's
LD_LIBRARY_PATH environment variable is set to /usr/local/lib. The
problem is that when I try to access the library program from the
browser, Apache generates the following error:
*[Thu Oct 27 16:07:05 2005] [error] [client 184.108.40.206] ld.so.1:
/res/apps/gsdl/gsdl/cgi-bin/library: fatal: libgdbm.so.3: open failed:
No such file or directory
*I tried adding symlinks to libgdbm in /usr/lib and in the apache/lib
directory, to no avail. I also tried modifying the apache/bin/envvars
file, and I make sure I set LD_LIBRARY_PATH before I start the Apache
server as root.
The error would seem to come from Greenstone, but I think it is set to
search /usr/local/lib as a default, so it should be able to find the
library... I tried recompiling with --libdir=/usr/local/lib, that did
not help. Any suggestions?
Some of the hurdles I went through in the past couple of days: