Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Aug 2002 18:45:42 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Simon Siemonsma <simon.freebsd@hccnet.nl>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Postfix doesn't find libintl.so.2
Message-ID:  <20020808174541.GA82086@happy-idiot-talk.infracaninophi>
In-Reply-To: <200208081839.33864.simon.freebsd@hccnet.nl>
References:  <200208081839.33864.simon.freebsd@hccnet.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 08, 2002 at 06:39:33PM +0200, Simon Siemonsma wrote:
> When I boot my computer I get the following message:
> 
> Starting local daemons: postfix/postfix-script: starting the Postfix mail 
> system /usr/libexec/ld-elf.so1: Shared object "libintl.so.2" not found.
> 
> Postfix is started through /etc/rc.local.
> The next service to startup (fetchmail) is not started.
> 
> I'm using FreeBSD 4.6.
> 
> Does anyone have any idea what's happening, and how to solve this.

Yes.  You've upgraded the gettext port which has bumped the version
number on the libintl.so shared library.  If you're up-to-date with
your gettext-0.11.4 port, then you should have:

    happy-idiot-talk:~:% ls -l /usr/local/lib/libintl*
    -rw-r--r--  1 root  wheel  47292 Aug  7 21:32 /usr/local/lib/libintl.a
    lrwxr-xr-x  1 root  wheel     12 Aug  7 21:32 /usr/local/lib/libintl.so@ -> libintl.so.4
    -r--r--r--  1 root  wheel  36126 Aug  7 21:32 /usr/local/lib/libintl.so.4


Unfortunately a large number of other ports depend on gettext --- you
can see the dependencies by running:

    pkg_info -R gettext-\*

On my system that returns a list of 43 packages, including such things
as lynx, gtar, windowmaker, mozilla and anything to do with GNOME.
Any of those might fail to work.

The cure is to recompile those ports so that they get relinked against
the latest libintl.so.4 --- a handy way of doing that is:

    portupgrade -rNif -x gettext-0.11.4 gettext-0.11.4

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
Tel: +44 1628 476614                                  Marlow
Fax: +44 0870 0522645                                 Bucks., SL7 1TH UK

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




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