I have a constant problem with build scripts on a 64-bit AMD Linux box (Gentoo).
The error message is 'bad interpreter'.
Apparently, it has to do with file format, because all I have to do is simply open the offending files (makedepend.gcc, projname and shlibln) and save them (without any modification).
This does not happen on 32-bit Linux.
Once you know it, it is a minor annoyance, but when encountered for the first time, it can consume a good chunk of time.
Does anyone have an idea why is this happening and how to fix it?