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