LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-12-2007, 04:07 PM   #1
doraimom
Member
 
Registered: Nov 2005
Posts: 274

Rep: Reputation: 30
Can't extract .rar files with any software!! Glibc problems??


Hi everyone.

I have been trying to make any available software that can extract .RAR files to work in my Debian ETC and Lenny, but none of them have worked so far.

DEbian has UNRAR-FREE in its repository but it doesn't work. You run the command like unrar-free -x <file>, then it seems to have worked but no file was extracted.

I did try RAR software too. Both versions 3.6 and BETA 3.7. Beta version doesn't work just like unrar-free. But, RAR 3.6 gives me an error message like "glibc 2.4 not installed". Anyway, I can't find this glibc neither in any of my repositories (just glibc-doc) nor in anywhere else.

I have also tried KArchiver, and others, but I don't feel I'm getting anywhere here.

Can anyone help me to fix this thing? It's pissing me off. It wasn't supposed to be such a big deal.... :@
 
Old 05-12-2007, 05:43 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
It was my understanding that unrar was free but rar was shareware. Anyway, try dropping the hyphen from the 'x' option. I think that -x excludes certain files from extraction.
Try 'unrar --help'. It shows the command syntax.

Maybe the unrar-free program has a different syntax. But check the documentation to make sure.
---

I just read the unrar license. The software is freely distributable. The source may be encorporated in other software to unpackage an rar archive, but there is a restriction on using the source in a winrar like program. You can make an uncompressor but not a compressor with it. The rar format itself is propriety. Good thing we have tar!
In other words, they prefer that you create archives with their own software, but they want the .rar archive format to be as widespread as possible to sell more copies of winrar, so they opened up the code (somewhat) for unarchivers. That isn't a bad strategy.

---

You could always download the non-free version:
http://packages.debian.org/cgi-bin/s...keywords=unrar

Last edited by jschiwal; 05-12-2007 at 05:54 PM.
 
Old 05-12-2007, 05:47 PM   #3
doraimom
Member
 
Registered: Nov 2005
Posts: 274

Original Poster
Rep: Reputation: 30
Quote:
try dropping the hyphen from the 'x' option
Hi. I didn't mention it here, but I also tried to do it. Any possible combination I've tried.
So, this time, to mention it some of them were:

unrar-free or unrar -x or just x <file.RAR>

Syntax is just fine. I did check it.

I've also tried to add a path in the end, to tell the software where it should unpack like ./ (working directory) or /home/.

None of these options have worked.

I have also tried to unpack my .RAR files using graphical softwares like ARK. Then, my ARK uses the rar and unrar files that I added to my /usr/bin. So, Even If I use the command incorrectly, ARK won't use it incorrectly and ARK wasn't able to unpack anything either.
Karchiver was also used... etc etc

Last edited by doraimom; 05-12-2007 at 06:05 PM.
 
Old 05-14-2007, 05:34 AM   #4
Guttorm
Senior Member
 
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,292

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Hi

I've had similar problems. The unrar command would extract some of my RAR files but not all. I think it has to do with versions - unrar can't handle RAR files made by newer versions of RAR. (I'm not sure of this, just guessing.)

The solution was to go to rarsoft.com and download the Linux version (command line) - it's not opensource, according to the licence you can use it for 40 days before you should pay. (It doesn't expire though.)

Then extract with the command "rar x rarfile".
 
Old 05-14-2007, 10:28 AM   #5
doraimom
Member
 
Registered: Nov 2005
Posts: 274

Original Poster
Rep: Reputation: 30
Quote:
The solution was to go to rarsoft.com and download the Linux version (command line)
It doesn't solve my problem. If you read my first message you'll see that I said that I have installed RAR - the latest version stable and also the BETA version. As I said, both of them didn't work. What you call RARSOFT is the same thing of RARLAB. If you type in your browser rarsoft.com you'll go to RARLAB's webpage.

As I said, the beta version runs perfectly but extract nothing. It seems it runs as It was supposed to run, but in the end of the line it says: "0 files extracted". It seems it can't read these rar files, it doesn't understand it or it thinks the package is empty.

The stable version complains something about glibc 2.4. I have tried to download something like this in my repository, as I have already said, but the only thing I can find is glibc-doc. In the internet I didn't find much either.
 
Old 05-14-2007, 10:52 AM   #6
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,959

Rep: Reputation: Disabled
Are you absolutely positively sure nothing is wrong with those rar files you have there? Do a little test, try to compress something using rar, does it work? And then uncompress the archive you just cooked, will it work?
 
Old 05-14-2007, 12:30 PM   #7
doraimom
Member
 
Registered: Nov 2005
Posts: 274

Original Poster
Rep: Reputation: 30
It's complainning about the same thing I mentioned before:

Quote:
./rar: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found (required by ./rar)
The other packages, like UNRAR (just unrar), and UNRAR-FREE they don't compress, since they don't have a RAR version just unrar*.

Last edited by doraimom; 05-14-2007 at 12:42 PM.
 
Old 05-14-2007, 12:49 PM   #8
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,959

Rep: Reputation: Disabled
Test file

OK, download the test file I just created and try to decompress it.
 
Old 05-14-2007, 01:07 PM   #9
doraimom
Member
 
Registered: Nov 2005
Posts: 274

Original Poster
Rep: Reputation: 30
Funcionou:

Quote:
unrar x test.rar

UNRAR 3.70 beta 3 freeware Copyright (c) 1993-2007 Alexander Roshal


Extracting from test.rar

Extracting astalavista OK
All OK
This is the UNRAR simple. Not the one from RARLABS.
EDITED BECAUSE I'M STUPID AND WROTE EVERYTHING IN PORTUGUESE.

Last edited by doraimom; 05-14-2007 at 02:34 PM.
 
Old 05-14-2007, 01:17 PM   #10
doraimom
Member
 
Registered: Nov 2005
Posts: 274

Original Poster
Rep: Reputation: 30
The simple UNRAR (the one that doesn't have RAR) is working fine as we can see above. But unrar-free and RAR/UNRAR from RARLABS aren't.

RARLABS BETA
Quote:
./unrar: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found (required by ./unrar)
AND UNRAR-FREE:

Quote:
unrar 0.0.1 Copyright (C) 2004 Ben Asselstine, Jeroen Dekkers


Extracting from /home/eu/test.rar

Extracting astalavista Failed
1 Failed
AS we can see the problem still exists in most of the softwares. It's strange because unrar-free was installed using apt, so any dependences were installed together. And the RAR from RARLABS is only unpacked. You don't need to install anything. It's only an executable file that runs from the directory created by the pack when it was unpacked. So, it's also strange that he isn't working. They are simple softwares.

EDITED BECAUSE I'M STUPID AND WROTE EVERYTHING IN PORTUGUESE.

Last edited by doraimom; 05-14-2007 at 02:39 PM.
 
Old 05-14-2007, 01:35 PM   #11
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,959

Rep: Reputation: Disabled
Your unrar 3.70-b works, no problem.

These rar files you are unable to extract, did you download them over some P2P network? If this is the case you probably have got fake ones.
 
Old 05-14-2007, 02:00 PM   #12
doraimom
Member
 
Registered: Nov 2005
Posts: 274

Original Poster
Rep: Reputation: 30
Quote:
Your unrar 3.70-b works, no problem.
How is that? It wasn't able to unrar anything. The only one that did uncompress something here was the UNRAR simple (with no RAR) that you guys sent to me with a link. It was originally a .DEB file. But unrar 3.70 BETA, 3.6 stable, and unrar-free (the one that's truely in my repositories, none of them are uncompressing anything. Not even your TEST.RAR as I showed you guys above.

Quote:
These rar files you are unable to extract, did you download them over some P2P network? If this is the case you probably have got fake ones.
No. I did download them directly from the website and I'm sure they are working just fine. I have already uncompressed them in windows.

Last edited by doraimom; 05-14-2007 at 02:03 PM.
 
Old 05-14-2007, 02:13 PM   #13
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,959

Rep: Reputation: Disabled
Quote:
unrar x test.rar

UNRAR 3.70 beta 3 freeware Copyright (c) 1993-2007 Alexander Roshal


Extracting from test.rar

Extracting astalavista OK
All OK
It says OK. There is no output file? Don't know then, weird indeed.
 
Old 05-14-2007, 02:23 PM   #14
doraimom
Member
 
Registered: Nov 2005
Posts: 274

Original Poster
Rep: Reputation: 30
Quote:

Quote:
unrar x test.rar

UNRAR 3.70 beta 3 freeware Copyright (c) 1993-2007 Alexander Roshal


Extracting from test.rar

Extracting astalavista OK
All OK
It says OK. There is no output file? Don't know then, weird indeed.
I'm sorry. I thought you were talking about the BETA version I downloaded from RARLABS.

So, making everything clear:
1) This one above that has worked is the one you guys sent to me:

Quote:
Download Page for unrar_3.5.4-1_i386.deb on Intel x86 machines
http://packages.debian.org/cgi-bin/d...i386&type=main
This is the one you have posted above

2) The beta version from RARLABS, didn't work.
Quote:
/unrar: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found (required by ./unrar)
3) The unrar-free didn't work.
Quote:
nrar 0.0.1 Copyright (C) 2004 Ben Asselstine, Jeroen Dekkers


Extracting from /home/eu/test.rar

Extracting astalavista Failed
1 Failed
Both of these last two have their error message posted above.

Now I think it's easier to know each one we are talking about.

Sorry anyway

Last edited by doraimom; 05-14-2007 at 02:27 PM.
 
Old 05-14-2007, 02:28 PM   #15
doraimom
Member
 
Registered: Nov 2005
Posts: 274

Original Poster
Rep: Reputation: 30
I'm really sorry. just know that I noticed that some of my posts were not in ENGLISH!!!!
Man... SORRY!!! SORRY!!!!!SORRY!!!!SORRY!!!

I HAVE EDITED ALL MY MESSAGES ABOVE THAT WERE WRITTEN IN PORTUGUESE. SORRY AGAIN.

Anyway, I tried to make everything clear in the message above. As you can know read in ENGLISH, 1) has worked, 2) and 3) didn't work and their error is just under their number.

Last edited by doraimom; 05-14-2007 at 02:41 PM.
 
  


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
Can't extract .rar files with any software!! Glibc problems?? doraimom Linux - Software 1 05-12-2007 04:52 PM
How to extract rar files in fedora core 6 me4linux Linux - Software 3 04-24-2007 03:09 PM
how to extract RAR files in linux mayankh Linux - Software 3 09-15-2006 04:34 AM
what software should I use to uncompress 'rar' files? priest_judas Linux - Software 4 01-14-2004 09:48 PM
How do I extract miltuple rar files? bankrupt Linux - Newbie 2 12-29-2003 04:17 AM


All times are GMT -5. The time now is 08:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration