From owner-freebsd-questions@FreeBSD.ORG Fri Nov 21 03:35:32 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D31DE854 for ; Fri, 21 Nov 2014 03:35:32 +0000 (UTC) Received: from mail-qc0-x23e.google.com (mail-qc0-x23e.google.com [IPv6:2607:f8b0:400d:c01::23e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6945EB72; Fri, 21 Nov 2014 03:35:32 +0000 (UTC) Received: by mail-qc0-f190.google.com with SMTP id c9so554210qcz.27 for ; Thu, 20 Nov 2014 19:35:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:message-id:in-reply-to:references:subject :mime-version:content-type; bh=1U3Aijq5xuu09oaJtS1B7SHZbJoIu8UajkJMXQuw8Ac=; b=pywBpYRqyuDiAMvhYdw119JVJCjtRo+7Caniv6oOTUWKwcnd1jSBTcLip9h0VkIJpN GvF9GYP2ZoEvVfwkViWMSsgHhWyRJ37uodOMM8soZhmRwLvun6ciAjW0lLXQSADnVCy0 8/layupxZKmlU1FRs2nDJ5stQzcmXYlDI+c7avWktk8xtXIxaOQkdxyoIoA0bfCpnyjy dCKsATI8X7WuMJvqgM9hPURg3fkKJXRDRoGJhx/gTmGv2+SgPqpsa3QsNs2QoIUHjbLw 3eSBUQj+FfbLLVRJJs5gkDShQzj1AgifsJYNJtEsJc+WwtSY00n4uIuGPBMuy8eyxkA/ FhEw== X-Received: by 10.50.67.97 with SMTP id m1mr258297igt.1.1416540931571; Thu, 20 Nov 2014 19:35:31 -0800 (PST) X-Google-Doc-Id: f4b287d3e36a64e6 X-Google-Web-Client: true Date: Thu, 20 Nov 2014 19:35:29 -0800 (PST) From: unixfreaxjp22@gmail.com To: ml-freebsd-questions@googlegroups.com Message-Id: <3e781c35-e3b0-4edf-8154-947b20f66012@googlegroups.com> In-Reply-To: <20140801234928.GC17393@slackbox.erewhon.home> References: <20140801083437.49ad718b@scorpio> <20140801175845.GB16376@slackbox.erewhon.home> <20140801152413.2864b4c6@scorpio> <20140801234928.GC17393@slackbox.erewhon.home> Subject: Re: Shared object "libintl.so.9" not found, required by "bash" MIME-Version: 1.0 X-Google-IP: 59.146.223.130 X-Mailman-Approved-At: Fri, 21 Nov 2014 04:17:42 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: rsmith@xs4all.nl, jerry@seibercom.net, freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2014 03:35:33 -0000 Happened here on 4 VPS using 9.3-RELEASE-p2 there are some program using bash shell login by remote and all went *poof* with the error message pic I attached together with ldd output. 1. I really don't understand why bash now need to use libintl.so.9 (gettext's lib), can't see any announce for that too. 2. It supposed to be linked like the below: $ uname -m i386 $ ldd /usr/local/bin/bash /usr/local/bin/bash: libncurses.so.8 => /lib/libncurses.so.8 (0x2811c000) libintl.so.9 => /usr/local/lib/libintl.so.9 (0x2815c000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28165000) libc.so.7 => /lib/libc.so.7 (0x2825d000) 3. funny thing is all my 9.3 release freebsd amd is having this bug now and bash user can't login. Yet 9.1 but in intel x32 wasn't occured rgds / @unixfreaxjp On Saturday, August 2, 2014 8:49:36 AM UTC+9, Roland Smith wrote: > > On Fri, Aug 01, 2014 at 03:24:13PM -0400, Jerry wrote: > > On Fri, 1 Aug 2014 19:58:45 +0200, Roland Smith stated: > > > > >On Fri, Aug 01, 2014 at 08:34:37AM -0400, Jerry wrote: > > >> Fri, 1 Aug 2014 08:26:26 -0400 > > >> > > >> I just used "freebsd-update" to update my system to FreeBSD > 10.0-RELEASE-p7 > > >> from "p3". Now, when I boot up, I am greeted with this friendly > message: > > >> > > >> 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? > > > > ldd /usr/local/bin/bash > > /usr/local/bin/bash: > > libncurses.so.8 => /lib/libncurses.so.8 (0x8008e7000) > > libintl.so.9 => /usr/local/lib/libintl.so.9 (0x800b33000) > > libc.so.7 => /lib/libc.so.7 (0x800d3c000) > > > > locate libintl.so.9 > > /usr/local/lib/libintl.so.9 > > > > >> 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 > that > 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 > -- > 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) >