Aha! I can pass environment variables to sudo!
sudo env ARCHFLAGS='-arch ppc' python setup.py install
Or, more to the point,
sudo env LD_LIBRARY_PATH=$LD_LIBRARY_PATH sybase
No comments:
Post a Comment