[6983] in testers
Re: 9.4 Linux problems due to duplicated libs in /usr/lib,
daemon@ATHENA.MIT.EDU (Greg Hudson)
Mon May 16 23:07:02 2005
From: Greg Hudson <ghudson@MIT.EDU>
To: Alex T Prengel <alexp@mit.edu>
Cc: testers@mit.edu
In-Reply-To: <200505170058.j4H0wT5U032691@astrophel.mit.edu>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Date: Mon, 16 May 2005 23:06:41 -0400
Message-Id: <1116299201.3458.75.camel@egyptian-gods.mit.edu>
Mime-Version: 1.0
On Mon, 2005-05-16 at 20:58 -0400, Alex T Prengel wrote:
> glib-2.0 >= 2.4.0
> gobject-2.0 >= 2.4.0
> gmodule-2.0 >= 2.4.0
> libgsf-1 >= 1.10.0
> libxml-2.0 >= 2.4.12
> pango >= 1.4.0
> pangoft2 >= 1.4.0
> gtk+-2.0 >= 2.4.0
> libglade-2.0 >= 2.3.6
> libgnomecanvas-2.0 >= 2.0.0
> libgnomeprint-2.2 >= 2.5.2
> libgnomeprintui-2.2 >= 2.5.2
> libart-2.0 >= 2.3.11
> In looking at the first library, for example, I found that there was:
>
> /usr/athena/lib/libglib-2.0.so.0, from rpm athena-glib2-9.4-0 and
> /usr/lib/libglib-2.0.so.0, from rpm glib2-devel-2.4.7-1
The filename doesn't provide the information you need here, and the RPM
name is only useful for the Red Hat RPM. To find out the version we
have installed on Athena and the version Red Hat ships with, you can
run:
pkg-config --modversion glib-2.0 (or whatever)
/usr/bin/pkg-config --modversion glib-2.0 (or whatever)
If you do that for the above libraries, you'll find that the Athena
version is more recent than the required version (and more recent than
Red Hat's version) in every case but libgsf. libgsf was not upgraded
for this release because, although it comes from ftp.gnome.org, it is
not officially part of any GNOME desktop or platform release, and thus
didn't hit my radar. (However, it's used by librsvg as an
optional-and-highly-recommended dependency, and librsvg is part of the
GNOME platform.)
I can upgrade libgsf for a future patch release. Until that happens, if
you want a less drastic workaround than the one you chose, you could
build a more recent version of libgsf into the gnumeric locker and set
PKG_CONFIG_PATH to find it in preference to the Athena version.
> So I guess I'm confused about the significance of /usr/athena/lib and
> why we have different copies of all these libraries in two places. I
> thought that /usr/athena/lib contained libraries that we build from
> source, because they weren't supplied in the RedHat release for
> whatever reason- but I suspect I misunderstand this...
GNOME libraries have complex and interlocking dependencies on data
directories under /usr/athena/lib and /usr/athena/share. So you cannot
intermix components built by the vendor and components built by us
without problems; we've tried to do some of that in previous releases
and it has been a bit of a train wreck. Since we cannot use a
completely stock GNOME build due to our use of AFS home directories, we
are forced to build everything ourselves.