Re: bash: Undefined symbol "rl_filename_rewrite_hook" referenced from COPY re location in /usr/local/bin/bash

2021-05-09 Thread Kurt Jaeger
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!

-- 
p...@opsec.eu+49 171 3101372Now 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"


Re: bash: Undefined symbol "rl_filename_rewrite_hook" referenced from COPY re location in /usr/local/bin/bash

2021-05-09 Thread Freddie Cash
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,  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 3101372Now 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"


bash: Undefined symbol "rl_filename_rewrite_hook" referenced from COPY re location in /usr/local/bin/bash

2021-05-09 Thread Kurt Jaeger
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 3101372Now 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"