Fernando de Oliveira wrote: > Em 06-01-2014 11:08, Pierre M.R. escreveu: >> It's probably not the 1st report on the subject. BLFS 7.4 enable >> readline support in JS-17.0.0. As readline is linked against libncurses >> (LFS 7.4), -lncurses is required somewhere to build JS. >> >> Pierre >> > Pierre, I do not seem to have any problem with that. Also searched the > web about it and could not find any reference including BLFS. > > Just rebuild js to check if I could find the problem, but build > completes without problem. > > I have: > > $ ldd js17 | grep curse > libncursesw.so.5 => /lib/libncursesw.so.5 (0xb736e000) > > $ scanelf -BF "%f: %n" js17 > js17: libpthread.so.0,libplds4.so,libplc4.so,libnspr4.so,libdl.so.2, > libreadline.so.6,libz.so.1,libstdc++.so.6,libm.so.6,libgcc_s.so.1,libc.so.6 > > Thus, it is linked to libreadline, as you said, and in turn, to > libncursesw, through libreadline. > > ISTR some discussion in the past, not sure if related to js, the problem > being that the libncursesw was not installed. Could this be the problem? > If so, perhaps a note could be included in the page, but about that, I > would like have more opinions. > >
The output of js/src/configure .. --enable-readline shows: configure: error: No system readline library found. config.log shows: configure:14764: gcc -o conftest -ffunction-section -fdata-sections -pthread -pipe -lphread conftest.c -lreadline -dl 1>&5 ()../../libreadline.so: undefined reference to 'tputs' ()../../libreadline.so: undefined reference to 'tgoto' ()../../libreadline.so: undefined reference to 'tgetflag' ()../../libreadline.so: undefined reference to 'UP' ... It's reproductible on my machine. Pierre -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
