On Mon, Apr 03, 2017 at 05:27:50PM -0500, Bruce Dubbs wrote: > Ken Moffat wrote: > > I thought you were referring to the new bc package which uses readline. > > I just ran a jhalfs build and had no problem with readline. I see almost > the same gcc line you have above, but no error. > > gcc -shared -Wl,-soname,libreadline.so.7.0 -L./lib/termcap > -Wl,-rpath,/usr/lib -Wl,-soname,`basename libreadline.so.7.0 .0` -o > libreadline.so.7.0 readline.so vi_mode.so funmap.so keymaps.so parens.so > search.so rltty.so complete.so bind.so isearch.so display.so signals.so > util.so kill.so undo.so macro.so input.so callback.so terminal.so text.so > nls.so misc.so history.so histexpand.so histfile.so histsearch.so shell.so > mbutil.so tilde.so colors.so parse-colors.so xmalloc.so xfree.so compat.so > -L/tools/lib -lncursesw > gcc -shared -Wl,-soname,libhistory.so.7.0 -L./lib/termcap > -Wl,-rpath,/usr/lib -Wl,-soname,`basename libhistory.so.7.0 .0` -o > libhistory.so.7.0 history.so histexpand.so histfile.so histsearch.so > shell.so mbutil.so xmalloc.so xfree.so -L/tools/lib -lncursesw > > Where is -L/tools/lib in your log? > > -- Bruce mea culpa - I did not spot the addition of that when readline was moved, so I didn't add it. I now see that the book has -
make SHLIB_LIBS="-L/tools/lib -lncursesw" and make SHLIB_LIBS="-L/tools/lib -lncurses" install You say that works, but why is the non-wide version needed in the install ? ĸen -- `I shall take my mountains', said Lu-Tze. `The climate will be good for them.' -- Small Gods -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page