Too many levels of symbolic links osx Lion
17,692
Solution 1
If go to:
cd /
and ls -la
outputs:
lrwxr-xr-x 1 root wheel 10 14 Mar 09:13 Developer -> /Developer
That's a problem. /Developer
should be a folder, not a symlink pointing to itself.
Find out where the original /Developer
directory is and delete the symlink, so you can create one pointing to it. If you can't find it, consider reinstalling XCode.
Solution 2
Use absolute paths when making symlinks:
Doesn't (always) work:
ln -s file ../new/path
Works (more often):
ln -s /full/path/to/old/place/ /full/path/to/new/place/
Author by
Jayyrus
I'm an Italian Software Engineer. I like very much to learn and study new technologies
Updated on June 17, 2022Comments
-
Jayyrus almost 2 years
i'm try to install a libraries but when the make file try to attempt to
Developer
folder it appear messageToo many levels of symbolic links.
So i try:
Go home folder (cd /)
then i try:
bash-3.2# cd Developer
and this is the output:
bash: cd: Developer: Too many levels of symbolic links
what could be the problem? can you help me?
ls -l
says me
lrwxr-xr-x 1 root wheel 10 14 Mar 09:13 Developer -> /Developer