Date: Sun, 9 May 2021 07:49:28 -0700 From: Freddie Cash <fjwcash@gmail.com> To: Kurt Jaeger <pi@freebsd.org> Cc: 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: <CAOjFWZ6pL=Suz7adkGbBYU2LFeR2x5YpttysXZjcmjm2D5F8ew@mail.gmail.com> In-Reply-To: <YJejPZqcJ3U87lmW@home.opsec.eu> References: <YJejPZqcJ3U87lmW@home.opsec.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
Run ldd against the bag binary and see if it's picking up /use/lib/ libreadline.8.so If it is and this 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. 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. Cheers, Freddie Typos due to smartphone keyboard. On Sun., May 9, 2021, 1:54 a.m. Kurt Jaeger, <pi@freebsd.org> wrote: > Hello, > > on a recently updated system I have this problem with shells/bash, > it fails to start: > > ld-elf.so.1: Undefined symbol "rl_filename_rewrite_hook" referenced from > COPY relocation in /usr/local/bin/bash > > I do not have this on similar systems, also recently updated, so > any idea where this might coming from ? pkg install bash-static fixes > it. > > With 'recently' I mean: the last 60minutes, from the same repo, > which is very much up2date. > > It is really surprising... > > -- > pi@opsec.eu +49 171 3101372 Now what ? > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ6pL=Suz7adkGbBYU2LFeR2x5YpttysXZjcmjm2D5F8ew>