bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gettext/0.11.5 revision


From: David Kaelbling
Subject: Re: gettext/0.11.5 revision
Date: Fri, 22 Nov 2002 16:28:56 -0500

Sorry, I didn't check the 0.11 details -- I just verified that both were
named libintl.so.3 with IVERSION sgi3.0.  The specific error was similar
to this one:

29824784:/usr/people/drk/toolroots/freeware/working/proot/usr/freeware/bin/msgfmt:
rld: Error: unresolvable symbol in
/usr/people/drk/toolroots/freeware/working/proot/usr/freeware/bin/msgfmt:
libintl_ngettext

This turned up during "make check" and in while configuring other
packages.  It is caused because of the way rld does shared library
matching on IRIX.  Basically rld was looking at the old installed
libintl.so.3 because it picked up a DT_RPATH from the new
libgettextsrc-0.11.5.so, and DT_RPATH is searched before
LD_LIBRARYN32_PATH.

I worked around this by setting LTV_REVISION=1 and linking with
-require_minor, so that while both libraries are still called
libintl.so.3, the new one as internal version sgi3.1.  Then because
minor version matching was enabled rld discarded the old library in
DT_RPATH and kept looking until it found the new library in
LD_LIBRARYN32_PATH.

        David

Bruno Haible wrote:
> 
> David Kaelbling writes:
> > I recently built gettext/0.11.5 for SGI IRIX 6.5.  I see that the
> > libtool version numbers have not changed (-version-info 4:0:2), so this
> > library should in theory be compatible with gettext/0.11.
> 
> gettext-0.11's libintl was built with -version-info 2:0:0.
> 
> > But in fact it's not, because the new library defines
> > libintl_gettext (used by xgettext among others), and the old library
> > didn't.
> 
> Yes the two library versions are not interchangeable, but I thought
> libtool's provisions for handling this would be sufficient.
> 
> What was the concrete error that you got?
> 
> Bruno

-- 
David KAELBLING <address@hidden>            Silicon Graphics Computer Systems
1 Cabot Rd, suite 250; Hudson, MA 01749     781.839.2157, fax ...2357




reply via email to

[Prev in Thread] Current Thread [Next in Thread]