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, <p...@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... > > -- > p...@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-unsubscr...@freebsd.org" > _______________________________________________ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"