LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-18-2009, 12:08 PM   #1
chicken76
Member
 
Registered: Mar 2009
Distribution: Slackware
Posts: 121

Rep: Reputation: 2
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?
 
Old 05-18-2009, 03:52 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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/
.....

Last edited by knudfl; 05-21-2009 at 06:03 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
libtinfo.so.5??? maskim7 Linux - General 0 04-07-2002 02:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration