Need help with rpmbuild

Joe Zeff joe at zeff.us
Wed Mar 30 06:45:36 UTC 2011


On 03/29/2011 11:25 PM, Panu Matilainen wrote:
> One or more python scripts in your package contain this shebang:
> #!/usr/local/bin/python
>
> Rpm is right to complain: If you tried to execute that file, it would
> fail because no such python interpreter exists on a normal Fedora
> installation. You need to locate + patch those files to refer to the
> system python path instead.

That's a fair amount of work.  It's a lot easier if you run this command 
as root:

ln /usr/bin/python /usr/local/bin/python

Because that makes link that the b0rken rpms can all use.


More information about the users mailing list