I was having trouble getting blenderpublisher to use the PYTHONPATH
under redhat 7.3.
What I wanted was the ability to run other programs and open pipes
using python 2.2 so I can write applications that drive blender using C++.
I wrote a bash script that sets the PYTHONPATH environment variable and
then runs up blenderpublisher.
Blender can now use all the functionality of the external python system.
hope this helps people a bit.
here's the script: