If you take a look at this irc log, and grep for “crap I nuked /usr/build/libtool“, you’ll find that someone has done exactly what I have done, trying to do exactly what I was trying to do.
The solution was simple,
ln -s /usr/bin/libtool /usr/build/libtool, but
usr/bin/libtoolcomes from the
libtoolpackage, which wasn’t installed on my system (?!). So I installed it, and symlinked it, no problem; but how the hack was there a
/usr/build/libtoolanyway, without the
libtoolpackage being installed? Where does it come from? I’d like to restore it.
And I know, I should have used
rm -rf, this was a good lesson.
I suppose you can’t just steal this from another machine then?
You probably need to find what installed that file. It could have been part of the base OS install as well.
rpm one could use:
rpm -q -f /usr/build/libtool
or something close to ask the system which package installed the file. I am not certain on more modern package managers how to do this, but chances are they have a way.