conda-forge / readline-feedstock

A conda-smithy repository for readline.
BSD 3-Clause "New" or "Revised" License
0 stars 24 forks source link

Update Readline: missing rl_trim_arg_from_keyseq symbol #28

Open mikemhenry opened 1 year ago

mikemhenry commented 1 year ago

I have been getting errors like this sh: symbol lookup error: sh: undefined symbol: rl_trim_arg_from_keyseq, version READLINE_8.2

The symbol shows up in my system package:

$ nm -D /lib64/libreadline.so.8.2 | grep rl_trim_arg_from_keyseq
00000000000282f0 T rl_trim_arg_from_keyseq

But not from the version installed with conda:

$ nm -D /home/mmh/micromamba/envs/openff-website/lib/libreadline.so.8.1 | grep rl_trim_arg_from_keyseq

This means that readline won't work for anyone running bash 5.x

I will make a PR to update readline, but I am not sure if 8.2 is backwards ABI compatible with 8.1, so it might not help