Hey! I recently did some ia64-hpux hacking in prefix, and i stumbled over alittle problem: the native linker collects -L options on the command line, and python uses -L. while building. this results in . beeing in rpath. now when $PWD == $S, there is libpython-*.so, and executing the already installed python finds (through rpath ".") this local libpython. this (although binary exactly the same) refuses to load installed extensions (Fatal Python Error: ....). The problem was caused by the filter-bash-environment.py call in ebuild.sh, _only_ during the "test" phase seemingly. the attached patch fixes the problem for me - what do you think? I guess there are better ways to tackle the problem, but i needed to get this to work ;) Cheers, Markus