LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-07-2007, 02:11 PM   #1
FlintyVamp
LQ Newbie
 
Registered: Oct 2007
Posts: 1

Rep: Reputation: 0
GLIBC 2.4 Not Found -- Unrar


Hello,

I am fairly new to linux and I'm trying to install Unrar on Debian Etch. I has installed successfully but when I try to extract or archive something I get >
"/usr/local/bin/rar: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found (required by /usr/local/bin/rar)"

Any ideas?

I've done a few searches but the other threads seems to go unanswered.

Thanks,
FlintyVamp
 
Old 10-08-2007, 01:25 AM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Install libc6 which should also install linux-libc-dev or something.
 
Old 03-18-2009, 07:54 PM   #3
Techno Guy
Member
 
Registered: Dec 2008
Posts: 62

Rep: Reputation: 15
./unrar: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by ./unrar)

Im getting the same/similar problem:

A screenshot of the problem.
http://img.skitch.com/20090318-xnx8f...4wrrduqunk.jpg

Im getting this error:
./unrar: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by ./unrar)

And I already have "libc6 is already the newest version."

And im running:
Linux 2.6.18-92.1.10.el5xen #1 SMP Tue Aug 5 08:46:32 EDT 2008 i686 GNU/Linux
Debian GNU/Linux 4.0

Any thoughts?

Last edited by Techno Guy; 03-18-2009 at 07:55 PM.
 
Old 03-19-2009, 03:20 PM   #4
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Try instead installing unrar-free with apt.
 
Old 03-19-2009, 03:46 PM   #5
Techno Guy
Member
 
Registered: Dec 2008
Posts: 62

Rep: Reputation: 15
But unrar-free only unrar's right?
I need to rar files, so i need "rar" (don't I? or is there another way?)

ops, sorry I just had a look at my other post and indeed I was trying to install unrar (my mistake sorry)
But yea I want to install RAR, which still gives the same error: ./rar: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by ./rar)

BTW, I did manage to get "RAR 3.60 Copyright (c) 1993-2006 Alexander Roshal 5 Aug 2006" installed, but that version is sooooo old, so I wanted to upgrade.

Last edited by Techno Guy; 03-19-2009 at 03:51 PM.
 
Old 03-19-2009, 04:03 PM   #6
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Code:
:~$apt-cache search ^rar
librarian-dev - Rarian is a documentation meta-data library (header files)
librarian0 - Rarian is a documentation meta-data library (library package)
rarian-compat - Rarian is a documentation meta-data library (compatibility tools)
rarpd - Reverse Address Resolution Protocol daemon
rar - Archiver for .rar files
rar-2.80 - Archiver for .rar files

:~$apt-cache policy rar
rar:
  Installed: 1:3.8.0-2
  Candidate: 1:3.8.0-2
  Version table:
 *** 1:3.8.0-2 0
        930 ftp://ftp.fi.debian.org testing/non-free Packages
        990 ftp://ftp.fi.debian.org unstable/non-free Packages
        100 /var/lib/dpkg/status
     1:3.8b3-1 0
        700 ftp://ftp.fi.debian.org stable/non-free Packages
:~$locate libc.so.6
/lib/libc.so.6
So why not "apt-get/aptitude install rar".
Or try doing a symlink "sudo mkdir /lib/tls && ln -s /lib/libc.so.6 /lib/tls/libc.so.6"
Otherwise you could compile the source the debian way if you really want to compile it. Plenty on google of compiling debian binaries.
 
Old 03-19-2009, 07:51 PM   #7
Techno Guy
Member
 
Registered: Dec 2008
Posts: 62

Rep: Reputation: 15
Code:
name:~# apt-get/aptitude install rar
-bash: apt-get/aptitude: No such file or directory
name:~# sudo mkdir /lib/tls && ln -s /lib/libc.so.6 /lib/tls/libc.so.6
-bash: sudo: command not found
name:~# mkdir /lib/tls && ln -s /lib/libc.so.6 /lib/tls/libc.so.6
mkdir: cannot create directory `/lib/tls': File exists
name:~# 
name:~# ln -s /lib/libc.so.6 /lib/tls/libc.so.6
ln: creating symbolic link `/lib/tls/libc.so.6' to `/lib/libc.so.6': File exists
name:~# cd rar
name:~/rar# ./rar
./rar: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by ./rar)
name:~/rar# apt-cache search ^rar
rarpd - Reverse Address Resolution Protocol daemon
name:~/rar# apt-cache policy rar
rar:
  Installed: (none)
  Candidate: (none)
  Version table:
name:~/rar# locate libc.so.6
/lib/libc.so.6
/lib/tls.disabled/libc.so.6
/lib/tls/libc.so.6
name:~/rar#
It doesn't come up in my search, maybe im missing something in my "sources.list"?


sources.list:
Code:
deb http://security.debian.org/ etch/updates main

deb http://ftp.debian.org/debian/ etch main
deb-src http://ftp.debian.org/debian/ etch main
deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib
 
Old 03-20-2009, 12:45 PM   #8
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
You could get rar from here http://packages.debian.org/etch/i386/rar/download and install with "dpkg -i rar_3.7b1-2_i386.deb".
Add non-free after main and contrib in sources.list and see if rar appears.
You should choose whether to use apt-get or aptitude. The commands would then have been:
"apt-get update"
"apt-get install rar"
Can you see rar with policy after apt-get update?

Last edited by makuyl; 03-20-2009 at 02:18 PM.
 
Old 03-21-2009, 08:19 PM   #9
Techno Guy
Member
 
Registered: Dec 2008
Posts: 62

Rep: Reputation: 15
Thanks makuyl, I upgraded to Debian 5 (Lenny) and added the non-free source to my sources.list and rar installed fine.

Thanks again for your help!
 
Old 03-22-2009, 05:07 AM   #10
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
No problem. Good move anyway to upgrade.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
problem installing glibc-2.3.2-4.80.i686, glibc-common-2.3.2-4.80.8.i386.rpm martianpackets Red Hat 8 05-01-2009 04:22 PM
glibc not found derzok Slackware 7 03-25-2007 07:54 AM
LFS 6.0 error: glibc fails check with "g++: command not found" peristaltic Linux From Scratch 1 03-15-2005 08:52 PM
Replacing glibc using linuxthreads for glibc using nptl (native positx thread library CestusGW Linux From Scratch 4 01-20-2005 08:26 AM
6.14.2 glibc installation - patch command not found itsjustme Linux From Scratch 4 07-23-2003 06:04 PM

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

All times are GMT -5. The time now is 09:22 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration