Re: [greenstone-users] more on Help on fatal: libgdbm.so.3

From rain Hanks
DateTue, 16 Mar 2004 20:01:40 +0000
Subject Re: [greenstone-users] more on Help on fatal: libgdbm.so.3
Thank you very much John, I finally installed the greenstone, however, I
have another problem when I try to run the demo, it gives me the following
error messages:

---------------------------------------------------------------------------
An error occurred during the construction of the cgi page. The error log,
/usr/local/gsdl/etc/error.txt, contains the following information:

warning: gdbm database "/usr/local/gsdl/collect/demo/index/text/demo.bdb"
does not exist

database open failed on: /usr/local/gsdl/collect/demo/index/text/demo.bdb
system problem: open on gdbm database
"/usr/local/gsdl/collect/demo/index/text/demo.bdb" failed

Error: call to filter failed for collection in OIDtools::get_info (system
problem)

warning: gdbm database "/usr/local/gsdl/collect/demo/index/text/demo.bdb"
does not exist

database open failed on: /usr/local/gsdl/collect/demo/index/text/demo.bdb
system problem: open on gdbm database
"/usr/local/gsdl/collect/demo/index/text/demo.bdb" failed

Error: call to filter failed for in OIDtools::get_children (system problem)
database open failed on: /usr/local/gsdl/collect/demo/index/text/demo.bdb
system problem: open on gdbm database
"/usr/local/gsdl/collect/demo/index/text/demo.bdb" failed

.........
-----------------------------

I checked the directory "usr/local/gsdl/collect/demo/index/text" and found
out I only have "demo.ldb demo.t demo.td demo.ti demo.tsd" five
files, I don't have demo.bdb. So, I wonder if I should download a demo.bdb
from the web and place it into the target directory, but I haven't found one
from the web. Would you please give me some hint on this? Where can I get a
copy of demo.bdb file?

I appreciate for your help!

Best regards,
Rain


--------------------------------Original Message------------------------
>From: "John R. McPherson" <jrm21&#64;cs.waikato.ac.nz>
>To: rain Hanks <rainsnowmaster@hotmail.com>
>CC: greenstone-users@list.scms.waikato.ac.nz
>Subject: Re: [greenstone-users] more on Help on fatal: libgdbm.so.3
>Date: Fri, 12 Mar 2004 09:55:43 +1300
>
>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
> > 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
> > 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 (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
>
>#!/bin/sh
>LD_LIBRARY_PATH=/path/to/gdbmlib:/path/to/libstdc++:$LD_LIBRARY_PATH
>export LD_LIBRARY_PATH
>exec ./library.bin
>
>
>John
><< attach3 >>

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar □ get it now!
http://clk.atdmt.com/AVE/go/onm00200415ave/direct/01/