LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   libtinfo.so.5 (http://www.linuxquestions.org/questions/slackware-14/libtinfo-so-5-a-726824/)

chicken76 05-18-2009 01:08 PM

libtinfo.so.5
 
Some software I'm trying to compile requires libtinfo.so.5
Googling for it showed it as part of the ncurses package, which I have installed. However, the library is not present on my system.

I have tried extracting rpm packages of ncurses and copying the libtinfo* to /lib but it doesn't work. The error message is:

# make
ocamlopt -o texvc unix.cmxa util.cmx parser.cmx html.cmx mathml.cmx texutil.cmx render.cmx lexer.cmx texvc.cmx
/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../i486-slackware-linux/bin/ld:/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../libc.so: file format not recognized; treating as linker script
/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../i486-slackware-linux/bin/ld:/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../libc.so:5: parse error
collect2: ld returned 1 exit status
Error during linking
make: *** [texvc] Error 2


What choices do I have on a Slackware 11.0 to get this library working?

knudfl 05-18-2009 04:52 PM

The 'libtinfo.so.5' you got from an rpm package may
depend on a newer version of glibc ( libc.so ) and not being usable.
The command 'ldd /lib/libtinfo.so.5' will tell what it depends on.

'ncurses-5.6.x' can be compiled with 'libtinfo.so.5.6'
> libtinfo.so.5, using these options :

Code:

./configure \
    --with-shared --without-ada --with-ospeed=unsigned \\\
    --enable-hard-tabs --enable-xmc-glitch --enable-colorfgbg \
    --enable-overwrite \\\
    --with-termlib=tinfo \\\
    --with-chtype=long

This information is from ncurses-5.6-20.20080927.fc10.src.rpm,
see 'ncurses.spec'.
http://download.fedora.redhat.com/pu.../source/SRPMS/
.....


All times are GMT -5. The time now is 12:14 PM.