Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Apr 2002 10:28:54 +1000
From:      Edwin Groothuis <edwin@mavetju.org>
To:        Mark Russell <mark@viper.net.au>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: gettext doesn't install libintl.so.1
Message-ID:  <20020427102854.I56612@k7.mavetju.org>
In-Reply-To: <20020427094358.Q27029-100000@gatekeeper.viper.net.au>; from mark@viper.net.au on Sat, Apr 27, 2002 at 09:46:44AM %2B1000
References:  <20020426134022.O77133-100000@zoot.corp.yahoo.com> <20020427094358.Q27029-100000@gatekeeper.viper.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 27, 2002 at 09:46:44AM +1000, Mark Russell wrote:
> On Fri, 26 Apr 2002, Doug Barton wrote:
> 
> > On Fri, 26 Apr 2002, Francois Kritzinger wrote:
> >
> > > Hi,
> > >
> > > I recently upgraded some ports, and in the process gettext was upgraded.
> > > Since then, there are lost of programs complaining that
> > > "libintl.so.1 not found".
> >
> > 	This is a known problem, but so far the ports team hasn't really
> > addressed it, to my knowledge. I suggest the following as root, which
> > works for me:
> >
> > cd /usr/local/lib
> > ln -s libintl.so libintl.so.1
> >
> > That's kind of cheesy, but it'll keep working until such time in the
> > future when the gettext people break API compatibility with .so.1.
> >
> 
> 
> I had a similar problem, what I did to fix the mess was to cd
> /usr/X11R6/bin && grep libintl.so.1 *  the reinstall anything that
> matched, repeat for /usr/local/bin /usr/X11R6/lib and /usr/local/lib, once
> again probably not the correct way but it saved me adding symlinks which
> *may* break things in the future.

Please see pr bin/37448(*) which has a patch for ldd/rtld to show
which libraries are actually used by which objects instead of only
given a summary. A similar patch was already commited to -current,
but not yet into -stable.

[~] edwin@k7>ldd -s /usr/X11R6/bin/xplanet
/usr/X11R6/bin/xplanet:
  /usr/X11R6/bin/xplanet
	  libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28092000)
	  libungif.so.5 => /usr/local/lib/libungif.so.5 (0x2814e000)
          [...]
  /usr/X11R6/lib/libX11.so.6
        libXThrStub.so.6 => /usr/X11R6/lib/libXThrStub.so.6 (0x28334000)
  /usr/local/lib/libungif.so.5
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28092000)
  /usr/X11R6/lib/libXThrStub.so.6
  /usr/X11R6/lib/libX11.so.6
        libXThrStub.so.6 => /usr/X11R6/lib/libXThrStub.so.6 (0x28334000)

Edwin

(*) http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/37448

-- 
Edwin Groothuis      |           Personal website: http://www.MavEtJu.org
edwin@mavetju.org    |        Interested in MUDs? Visit Fatal Dimensions:
bash$ :(){ :|:&};:   |                    http://www.FatalDimensions.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020427102854.I56612>