Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

tar wont work: Cannot exec: Too many levels of symbolic links 1

Status
Not open for further replies.

linuxMaestro

Instructor
Jan 12, 2004
183
US
# tar -xzvf bfd-current.tar.gz
tar (child): gzip: Cannot exec: Too many levels of symbolic links
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors

How do I fix this?
 
It's probably a recursive link or something. I'd try doing a tzvf and seeing if I see anything suspicious, then use the various options to tar to exclude it.
 
It won't even let me test it
# tar -tzvf bfd-current.tar.gz
tar (child): gzip: Cannot exec: Too many levels of symbolic links
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
 
Also gcc wont work:
gcc: installation problem, cannot exec `as': Too many levels of symbolic links
 
I read the error message too long, tar is trying to run gzip and that is failing. I bet if you tried running 'gzip' on the command line, it would fail.

I think you have a recursive symlink somewhere in your path or something.
 
How do I change the PATH permenantly? I know I can do it for my login in .profile, but how do I change it serverwide?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top