Originally Posted by cold
Thanks for hint. I've tried but no effect. Still the same problem :-(.
In general, the symbolic link has the syntax:
ln -sf /FullPath-to-Real-Image Fake-link
Assuming the place you mention is correct, then the correct command would be something like:
(cd ~; ln -sf /usr/bin/ccache mylink)
1. Makes sure you are in your home directory, where you most certainly ought to be able to create a link and
2. Makes sure to use an absolute path name to the procedure.
A couple of other points:
1. Instead of using a compound command, you can also separate it into two distinct commands if you do not mind ending up in your home directory:
cd ~; ln -sf /usr/bin/ccache mylink
2. To ensure that /usr/bin/ccache is really a file and is accessible, try this:
That will tell you what kind of a file (executable, shell script, link, etc. this file appears on your system. If you believe that it could be a link, then
ls -l /usr/bin/ccache
will show you the location if there are links, then you can follow the potential cascade of links to either find a file pointed to by the links or a breakage of the links.
On my system, I in fact do not have such a file at all. Check yours to be sure what you are looking for is actually there and it is what you expect it to be.
Hope this helps you out.