Ken Moffat wrote:
On Mon, Apr 03, 2017 at 03:36:24PM -0500, Bruce Dubbs wrote:
Ken Moffat wrote:
Current svn as of a few hours ago, reformatted by pasting:
rm -f libreadline.so.7.0
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 -lncursesw
/tools/lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -lncursesw
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:177: libreadline.so.7.0] Error 1
In bc we already have:
ln -sv /tools/lib/libncursesw.so /usr/lib/libncurses.so
I'll try a similar symlink to /usr/lib/libncursesw.so in readline,
and hope that it does get fixed up when ncurses is finally
installed.
Update again. I fixed that in r11218.
I don't think so. In r11218 you added a libncursesw.so.6 symlink in
bc. AFAICS from looking only at the changes in trac, that is still
after readline.
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
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page