Re: [greenstone-users] more on Help on fatal:

From John R. McPherson
DateFri, 12 Mar 2004 09:55:43 +1300
Subject Re: [greenstone-users] more on Help on fatal:
In-Reply-To (BAY10-F10dyMuRIN0EQ00017e0c-hotmail-com)
On Thu, Mar 11, 2004 at 08:22:59PM +0000, rain Hanks wrote:
> Hello,
> Sorry, I didn't say it clearly, it also causes the
> 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:
> /usr/local/gsdl/bin/sunos/getpw: fatal:
> open failed: No such file or directory
> /usr/local/gsdl/bin/sunos/txt2db: fatal:
> open failed: No such file or directory
> Killed

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
to load.

Either copy the dynamic libraries ( and
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

exec ./library.bin