I'm trying to clean up remnants of an application that was removed:
$ sudo grep -R "iNet Network" /Library
...
grep: /Library//Frameworks/Mono.framework/Home/lib/libmono-2.0.1.dylib.dSYM/libmonoboehm-2.0.1.dylib.dSYM: Too many levels of symbolic links
grep: /Library//Frameworks/Mono.framework/Home/lib/libmono-2.0.dylib.dSYM/libmonoboehm-2.0.dylib.dSYM: Too many levels of symbolic links
grep: /Library//Frameworks/Mono.framework/Libraries/libmono-2.0.1.dylib.dSYM/libmonoboehm-2.0.1.dylib.dSYM: Too many levels of symbolic links
grep: /Library//Frameworks/Mono.framework/Libraries/libmono-2.0.dylib.dSYM/libmonoboehm-2.0.dylib.dSYM: Too many levels of symbolic links
grep: /Library//Frameworks/Mono.framework/Versions/3.2.1/lib/libmono-2.0.1.dylib.dSYM/libmonoboehm-2.0.1.dylib.dSYM: Too many levels of symbolic links
grep: /Library//Frameworks/Mono.framework/Versions/3.2.1/lib/libmono-2.0.dylib.dSYM/libmonoboehm-2.0.dylib.dSYM: Too many levels of symbolic links
grep: /Library//Frameworks/Mono.framework/Versions/Current/lib/libmono-2.0.1.dylib.dSYM/libmonoboehm-2.0.1.dylib.dSYM: Too many levels of symbolic links
grep: /Library//Frameworks/Mono.framework/Versions/Current/lib/libmono-2.0.dylib.dSYM/libmonoboehm-2.0.dylib.dSYM: Too many levels of symbolic links
It's an unrelated issue to what I am trying to do, but I'd like to clean it up. I believe libmonoboehm
is an Apple framework.
From Too many levels of symbolic links, its likely that soft links point to one another.
Question: How do I clear this error?
A quick ls -l
on the first directory reveals the following. It almost appears the softlink refers to itself; or its parent directory, which appears to be named the same.
$ ls -l /Library//Frameworks/Mono.framework/Home/lib/libmono-2.0.1.dylib.dSYM/libmonoboehm-2.0.1.dylib.dSYM
lrwxr-xr-x 1 root admin 29 Aug 14 2013 /Library//Frameworks/Mono.framework/Home/lib/libmono-2.0.1.dylib.dSYM/libmonoboehm-2.0.1.dylib.dSYM -> libmonoboehm-2.0.1.dylib.dSYM
$ ls -l /Library//Frameworks/Mono.framework/Home/lib/libmono-2.0.dylib.dSYM/libmonoboehm-2.0.dylib.dSYM
lrwxr-xr-x 1 root admin 27 Aug 14 2013 /Library//Frameworks/Mono.framework/Home/lib/libmono-2.0.dylib.dSYM/libmonoboehm-2.0.dylib.dSYM -> libmonoboehm-2.0.dylib.dSYM
Related information.
- OS X 10.8.5 fully patched (and still defective)
- Xcode Version 5.1.1 (5B1008)
ls -l
on some of the listed files should give you an indication about there the symlinks are pointing to, maybe you have to follow the symlink chain for some steps. If you don't needMono.framework
any longer, it might be best to just delete it though.