From owner-freebsd-questions@FreeBSD.ORG Fri Aug 1 23:49:31 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 680F8389 for ; Fri, 1 Aug 2014 23:49:31 +0000 (UTC) Received: from smtp-vbr13.xs4all.nl (smtp-vbr13.xs4all.nl [194.109.24.33]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1A75728EC for ; Fri, 1 Aug 2014 23:49:30 +0000 (UTC) Received: from slackbox.erewhon.home (slackbox.xs4all.nl [83.162.243.5]) by smtp-vbr13.xs4all.nl (8.13.8/8.13.8) with ESMTP id s71NnSNM044555; Sat, 2 Aug 2014 01:49:28 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.home (Postfix, from userid 1001) id 1991712385; Sat, 2 Aug 2014 01:49:28 +0200 (CEST) Date: Sat, 2 Aug 2014 01:49:28 +0200 From: Roland Smith To: Jerry Subject: Re: Shared object "libintl.so.9" not found, required by "bash" Message-ID: <20140801234928.GC17393@slackbox.erewhon.home> Mail-Followup-To: Jerry , freebsd-questions@freebsd.org References: <20140801083437.49ad718b@scorpio> <20140801175845.GB16376@slackbox.erewhon.home> <20140801152413.2864b4c6@scorpio> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sgneBHv3152wZ8jf" Content-Disposition: inline In-Reply-To: <20140801152413.2864b4c6@scorpio> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.23 (2014-03-12) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Aug 2014 23:49:31 -0000 --sgneBHv3152wZ8jf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 01, 2014 at 03:24:13PM -0400, Jerry wrote: > On Fri, 1 Aug 2014 19:58:45 +0200, Roland Smith stated: >=20 > >On Fri, Aug 01, 2014 at 08:34:37AM -0400, Jerry wrote: > >> Fri, 1 Aug 2014 08:26:26 -0400 > >>=20 > >> I just used "freebsd-update" to update my system to FreeBSD 10.0-RELEA= SE-p7 > >> from "p3". Now, when I boot up, I am greeted with this friendly messag= e: > >>=20 > >> Shared object "libintl.so.9" not found, required by "bash" > > > >This means that bash cannot be loaded. But it shouldn't have anything to= do > >with updating the base system, because libintl.so.9 is part of the > >devel/gettext port. > > > >> The file does exist. I rebuilt bash and rebooted the system; however, = the > >> message still appears. > > > >Are you sure you also *installed* the new bash? > >What does `ldd /usr/local/bin/bash` tell you? >=20 > ldd /usr/local/bin/bash > /usr/local/bin/bash: > libncurses.so.8 =3D> /lib/libncurses.so.8 (0x8008e7000) > libintl.so.9 =3D> /usr/local/lib/libintl.so.9 (0x800b33000) > libc.so.7 =3D> /lib/libc.so.7 (0x800d3c000) >=20 > locate libintl.so.9 > /usr/local/lib/libintl.so.9 >=20 > >> I do not see any evidence of a failure by bash, so I > >> am wondering if this is just a harmless error message. Everything seems to be OK. Weird. The only causes I can think of is that the system tries to start bash before ldconfig(8) is run to update the hints file /var/run/ld-elf.so.hints. Or th= at the hints file is inaccessible for some reason. Since the dynamic linker only looks in /lib and /usr/lib by default, that would make the linking with a library in /usr/local/lib fail. But how that could happen I don't know. Roland --=20 R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 5753 3324 1661 B0FE 8D93 FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0) --sgneBHv3152wZ8jf Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJT3CeHAAoJEED21dyjijPgI+YP+wc74cqpWF+rZn9NmM/W66eZ zGu5XaYB2NFiS6vJ8hWi1tB04l2alE+ghwDLlVuribgGL8VxmT/VXSVEBnrhDx1q C17UgzArtJBq9yINYkwlz0qruwfHbrrT4CrFwpUMxKP2VQXzGoSVIwtJqlstKcq0 MyFqVr3b2/5zJ3uVh5QF56ZmagjJabDTxM7d6UF81ly5Q5DLr06u+aWO//hRJOxZ x4LITujysiIP99wi5m9rPp/BnfPa0zT2BGdo2PAU3UM1FIEp2rEFY6q5FdGJlgis 2B25NctnCPi8Wub097DgP+R/XptUm0K67ZVA7uwNTndD5z2S53Tzwj7wXMf9X3QK nSInLxJSF4vllaloIu4T3EN4DAzCUIdyQYxHQPtYSXPijmfKCkTBoqlxopx/IUox JWLhgRedDf2MOhto4h20rUdhj5cJaLMV/gd0Ki+C2xbodG7ETuwTjpUbywDnB8TI L8YFPGeC10TxxC7OLI0bnphgSDw7kLCjO7/J3JjI0VHRmp4e0snrEdzbAJw5tuIE 3YGEeD16/7gd5botmfyxDJpp91b6PMtUeRWu6iYkokILUaALPAwyjJ+s/twN5dwK 9JMhLna+UYHXvVz1gddj0xFrTiwBcq5VMA/Upx+LezFV/C5fWoo5m8rdIUOEwmUt htr/7n+PnaxC0c8gbPER =UbJr -----END PGP SIGNATURE----- --sgneBHv3152wZ8jf--