Ken Moffat wrote: > I'm looking at the things which the TeX Live binary installer links > to on a 7.4 system. Mostly, all is fine (LFS libs, and X-related > libs), but for asy [ asymptote ] and xindy.run, ldd reported that > libncurses.so.5 was not found. > > It seems eminently possible that this problem is "mine, all mine" > (I've maybe fubar'd the non-wide part, I don't normally run > precompiled binaries) and I get to keep all the pieces. > > But a quick look in LFS (without spending a lot of time on the > detail, my brain is already severely frazzled with TeX) suggests > that we only create libncurses.so.5 in /lib. > > I tried copying /usr/lib/libncurses.so [ INPUT(-lncursesw) ] to > /usr/lib/libncurses.so.5, ldd reported 'file too short'. Same if I > symlinked .so.5 to .so. What works for me is > > ln -sv /lib/libncursesw.so.5 /usr/lib/libncurses.so.5
In Chapter 6 we have: Note The instructions above don't create non-wide-character Ncurses libraries since no package installed by compiling from sources would link against them at runtime. If you must have such libraries because of some binary-only application or to be compliant with LSB, build the package again with the following commands: make distclean ./configure --prefix=/usr \ --with-shared \ --without-normal \ --without-debug \ --without-cxx-binding make sources libs cp -av lib/lib*.so.5* /usr/lib Does that help? BTW, without the above, we do have /usr/lib/libncurses.a. Shouldn't shouldn't that be picked up? -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page