DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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 02:51 PM.
:~$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.
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
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.