--enable-shared, how do i set the rpath?

Robert Kern robert.kern at gmail.com
Mon Nov 27 05:11:17 EST 2006


Mark Harrison wrote:
> I've built a python with --enable-shared in order to support mod_python,
> but now I have to set LD_LIBRARY_PATH to $prefix/lib. 
> 
> Worse, it seems mod_python will die on some import statements,
> I'm suspecting ones that need to pull in .so's.

I find that most of my Apache problems stem from incorrect permissions. Make
sure that the user running the Apache process has "read" and "execute"
permissions for the .so's.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco




More information about the Python-list mailing list