|On Thu, Mar 11, 2004 at 08:22:59PM +0000, rain Hanks wrote:
> Sorry, I didn't say it clearly, it also causes the
> http://digital.dev.lib.ucdavis.edu/gsdl/cgi-bin/library to error.
> I finally arrive the last step to install the greenstone, however, it is
> "installed" but it bombed out on setting a password. It looks like I don't
> have libgdbm set in the LD_LIBRARY_PATH.
> The error messages are:
> ld.so.1: /usr/local/gsdl/bin/sunos/getpw: fatal:
> libstdc++.so.2.10.0: open failed: No such file or directory
> ld.so.1: /usr/local/gsdl/bin/sunos/txt2db: fatal: libgdbm.so.3:
> open failed: No such file or directory
This means you have dynamically linked a program against a dynamic
library, but when you run your program, it can't find that dynamic library
Either copy the dynamic libraries (libgdbm.so.3 and libstdc++.so....)
into a system directory where they will be found (such as /usr/lib or
/usr/local/lib perhaps), or you need to make sure the LD_LIBRARY_PATH
variable points to directories with those libraries when the executable
is run. For example, rename the "library" program to "library.bin"
and create a shell script called "library" that looks something like