LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 07-11-2004, 08:27 PM   #1
Corallis
Member
 
Registered: Jan 2004
Location: EST
Distribution: Slackware 10.0
Posts: 150

Rep: Reputation: 15
"Too many levels of symbolic links" Problem


Currently running Slackware 10.0, kernel 2.4.26. Im attempting to install module-init-tools-3.0.tar.gz via the method listed below:

cd /usr/src
wget -c http://www.kernel.org/pub/linux/kern...ols-3.0.tar.gz
tar -zxvf module-init-tools-3.0.tar.gz
cd module-init-tools-3.0
./configure --prefix=""
make moveold
make install
./generate-modprobe.conf /etc/modprobe.conf

As soon as I get to the "make install", I get the following errors:

make[1]: Entering directory '/usr/src/module-init-tools-3.0'
/bin/sh ./mkinstalldirs /bin
/bin/sh ./install-with-care lsmod /bin/lsmod
install: cannot stat '/bin/lsmod': Too many levels of symbolic links
make[1]: *** [install-binPROGRAMS] Error 1
make[1]: Leaving directory '/usr/src/modules-init-tools-3.0'
make: *** [install-am] Error 2

Im assuming this isnt supposed to be happening, so I was wondering if anyone could help me make sense of this. I have been looking on google but havent been able to find anything of much interest.

Thanks in advance if anyone can help.
 
Old 07-11-2004, 09:44 PM   #2
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
sounds like you have a link pointing to a link ad-infinitum, ie. a link ultimately pointing back on itself somewhere maybe? try looking at some libs (.so files)
 
Old 07-11-2004, 10:04 PM   #3
Corallis
Member
 
Registered: Jan 2004
Location: EST
Distribution: Slackware 10.0
Posts: 150

Original Poster
Rep: Reputation: 15
Ah, I see. This does seem to be the problem. It seems my /bin/lsmod is a link that pionts to my /sbin/lsmod, and my /lsmod is a link that points to my /bin/lsmod. The problem seems a bit deeper than this too. In my /bin folder, I have an lsmod.old, which points to lsmod.old in my /sbin folder, which in turn points to insmod.old in my /sbin folder. This means I dont actually have an lsmod file? When I run lsmod from the command line, it says "-bash: lsmod: command not found". Is there some way I can fix this?
 
Old 07-11-2004, 10:56 PM   #4
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
why would you need to install new moudule-init-tools anyways. the one that come with slack work fine even on 2.6.0 kernels. if it aint broke don't fix it lol.
 
Old 07-11-2004, 11:05 PM   #5
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
rename the files back to their regular names. older versions of mod init tools would not load modules with the .ko extention but slacks are up to date ulnless you just want the latest greatest.
 
Old 07-12-2004, 01:18 PM   #6
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
what he said ^
 
  


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
two many levels of symbolic links walkant Linux - Software 3 07-14-2004 11:05 AM
two many levels of symbolic links walkant Linux - Software 1 07-10-2004 08:54 AM
ProFTPD - "Too many levels of symbolic links" orange400 Linux - Software 5 04-29-2004 06:55 AM
Too many levels of symbolic links Inexactitude Linux - Newbie 4 10-10-2003 06:09 PM
Can't mount CDROM: "Too many levels of symbolic links" wycolorado Linux - Newbie 10 08-15-2003 10:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:39 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