[greenstone-users] Regarding client-gli installation

From Anupama of Greenstone Team
DateFri Apr 23 20:08:53 2010
Subject [greenstone-users] Regarding client-gli installation
In-Reply-To (4BD09B0F-3030404-bates-edu)
Hi Jim,

The description in your e-mail concerns Windows. Has this magically
evaporated your perl and glibc problems too, or are they still an issue?


Still on your glibc situation:

You wrote:
> /usr/bin/perl --version
> This is perl, v5.8.8 built for i386-linux-thread-multi

Running perl --version displays the same for me.

Maybe expat.so is finding a different glibc between our two systems, though?

Could you try the following:

1. I just ran the following from the Greenstone 2 installation folder:
> ldd perllib/cpan/perl-5.8/auto/XML/Parser/Expat/Expat.so

And the output for me was:
> ldd: warning: you do not have execution permission for
> `perllib/cpan/perl-5.8/auto/XML/Parser/Expat/Expat.so'
> linux-gate.so.1 => (0x00bc2000)
> libc.so.6 => /lib/libc.so.6 (0x001e5000)
> /lib/ld-linux.so.2 (0x001c9000)


The 2nd to last line is: libc.so.6 => /lib/libc.so.6 (0x001e5000)
I googled on "glibc libc" and one of the first results mentions:
"2 Feb 2000 ... (which should be a symlink) and check the last digit of
the result. libc.so.6 is glibc, libc.so.5 is libc5. Red Hat versions 6.0
and above ..."

So I have libc.so.6 here which is apparently a glibc. What is the one
your Expat.so is using? Can you find out by typing the following in your
greenstone installation folder as well:
> ldd perllib/cpan/perl-5.8/auto/XML/Parser/Expat/Expat.so


2. To find out what version of glibc mine was, I ran -version on the
libc.so.6 found by trying out step 1 above as follows, which the output
showed up as being located at /lib/libc.so.6.

> /lib/libc.so.6 -version

The start output was:
> GNU C Library stable release version 2.5, by Roland McGrath et al.
> Copyright (C) 2006 Free Software Foundation, Inc.
> (etc.)

So my glibc version is 2.5. Can you run the -version on the libc.so file
your Expat.so was using and see if the version is not >=2.5 as Expat
requires?

Regards,
Anupama


Jim Hart wrote:
> Hi Anupama,
>
> In case it's helpful, version 2.83 installed and ran perfectly *if* I
> changed the install directory to something with no spaces in the path
> name. When installed in "Program Files/Greenstone", it gave me nothing
> but trouble even after putting quotes around the path in ' gsdlsite.cfg'.
>
> I would recommend that everyone change the default path and that the
> installer gets changed in the next release.
>
> Regards,
> Jim
>