Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 May 2021 21:03:21 +0200
From:      Kurt Jaeger <pi@freebsd.org>
To:        Freddie Cash <fjwcash@gmail.com>
Cc:        Kurt Jaeger <pi@freebsd.org>, FreeBSD Ports Mailing List <ports@freebsd.org>
Subject:   Re: bash: Undefined symbol "rl_filename_rewrite_hook" referenced from COPY re location in /usr/local/bin/bash
Message-ID:  <YJgx%2BVExWq/Zl9tf@home.opsec.eu>
In-Reply-To: <CAOjFWZ6pL=Suz7adkGbBYU2LFeR2x5YpttysXZjcmjm2D5F8ew@mail.gmail.com>
References:  <YJejPZqcJ3U87lmW@home.opsec.eu> <CAOjFWZ6pL=Suz7adkGbBYU2LFeR2x5YpttysXZjcmjm2D5F8ew@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 ?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YJgx%2BVExWq/Zl9tf>