Found out that gcc being used was that on /tools, solved that issue and now 
readline was compiled without any libncurses... but bash was correct compiled 
with libncursesw.so.


Em qua 04 mai 2011, às 08:56:20, Carlos Eduardo de Brito Novaes escreveu:
> Hello.
> 
> I got problems with linking libreadline with wide char ncurses (-lncursesw)
> inside chroot environment.
> 
>  The readline is compiled without errors, but running ldd libreadline.so
> gave:
> 
> --  Console
> root:/usr/src/glibc-build# ldd /lib/libreadline.so.6.2
>         linux-gate.so.1 =>  (0xf76ef000)
>         libncurses.so.5 => not found
>         libc.so.6 => /lib/libc.so.6 (0xf751c000)
>         /lib/ld-linux.so.2 (0xf76f0000)
> --  Console
> 
> libncurses.so was a text file, as book recomendations, containg:
> 
> -- Console
> root:/usr/src/glibc-build# cat /usr/lib/libncurses.so
> INPUT(-lncursesw)
> -- Console
> 
> As I can see, the linking is done, but is not translated back to
> libncursesw. Can someone help me in this.
> 
> PS: If I did non-wide chars ncurses libraries, the ldd command find the
> correct libraries, but I would like to know waht is going on and would
> like to use only wide-char ncurses.
> 
> Thanks.
> 
> Carlos Novaes.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to