From owner-freebsd-ports@freebsd.org Sun May 9 19:03:26 2021 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7A3CC63F756 for ; Sun, 9 May 2021 19:03:26 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FdYVk34Qtz3nRR for ; Sun, 9 May 2021 19:03:26 +0000 (UTC) (envelope-from pi@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 692AD63F755; Sun, 9 May 2021 19:03:26 +0000 (UTC) Delivered-To: ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 68F6863F8E8 for ; Sun, 9 May 2021 19:03:26 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FdYVk2drQz3ncY; Sun, 9 May 2021 19:03:26 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from pi by home.opsec.eu with local (Exim 4.94.2 (FreeBSD)) (envelope-from ) id 1lfoi1-000Cqo-HX; Sun, 09 May 2021 21:03:21 +0200 Date: Sun, 9 May 2021 21:03:21 +0200 From: Kurt Jaeger To: Freddie Cash Cc: Kurt Jaeger , FreeBSD Ports Mailing List Subject: Re: bash: Undefined symbol "rl_filename_rewrite_hook" referenced from COPY re location in /usr/local/bin/bash Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4FdYVk2drQz3ncY X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 May 2021 19:03:26 -0000 Hi! > Run ldd against the bag binary and see if it's picking up /use/lib/ > libreadline.8.so It shows /lib/libreadline.so.8, yes. > If it is a FreeBSD 12.x system, then just delete (or rename) > that file. Run ldd again, and it should pick up the readline library from > /usr/local/lib. Yes, that was the correct fix, works now! > It seems freebsd-update doesn't remove that library when upgrading from > 11.x to 12.x on some systems. I posted about this in the -stable mailing > list a month or so ago. Thanks for the info! -- pi@opsec.eu +49 171 3101372 Now what ?