On Thu, 25 Jul 2013 15:11:13 -0400, Sébastien Boisvert wrote: > (4) a description of the bug > > libreadline.so has rl_sort_completion_matche instead of > rl_sort_completion_matches > > $ readelf -s 1/lib/libreadline.so|grep rl_sort_completion_matche > 511: 000000000023fca8 4 OBJECT GLOBAL DEFAULT 23 > rl_sort_completion_matche 488: 000000000023fca8 4 OBJECT GLOBAL > DEFAULT 23 rl_sort_completion_matche > > The header has the correct name (with a s): > > $ grep rl_sort_completion_matche 1/include/readline/readline.h extern > int rl_sort_completion_matches;
This is not a bug. Use --wide to get non-truncated output from readelf: vbraun@sage:~/Sage/sage$ readelf -s local/lib/libreadline.so|grep rl_sort_completion_matche 576: 00000000002425c8 4 OBJECT GLOBAL DEFAULT 22 rl_sort_completion_matche 966: 00000000002425c8 4 OBJECT GLOBAL DEFAULT 22 rl_sort_completion_matche vbraun@sage:~/Sage/sage$ readelf -s --wide local/lib/libreadline.so|grep rl_sort_completion_matche 576: 00000000002425c8 4 OBJECT GLOBAL DEFAULT 22 rl_sort_completion_matches 966: 00000000002425c8 4 OBJECT GLOBAL DEFAULT 22 rl_sort_completion_matches > (6) A fix for the bug if you have one! > > To compile R 3.0.1, I removed the use of this symbol in the R code: > > sed -i 's>rl_sort_completion_matches = 0;>>g' src/unix/sys-std.c This is a bug in R where R is using readline symbols without linking against readline (-lreadline). Some older toolchains were more forgiving, but nowadays this is an error. _______________________________________________ Bug-readline mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-readline
