[Trac] Problem with svn-python bindings when run from apache

Christian Boos cboos at wanadoo.fr
Sun Jun 5 16:08:51 CDT 2005


Dima Diall wrote:

>Hello list:
>
>...
>
>So, I figure this should be linked to a difference in the environment
>between bash and httpd. For everything to work from this software
>directory of mine I defined some extra variables and am passing them
>to apache (via PassEnv in httpd.conf).
>
>PATH=/long/path/sw/bin:$PATH
>LD_LIBRARY_PATH=/long/path/sw/lib:$LD_LIBRARY_PATH
>PYTHONPATH=/long/path/sw/lib/python2.2/site-packages
>
>  
>
This is most certainly a conflict between the APR libraries:

>Here are the software versions I am using (the first two were already
>installed in /opt by the sysadmin):
>- apache 2.0.46 (pre-installed)
>
>  
>
The above must certainly use apr-0.9.5 (or even earlier, I don't 
remember exactly)

>- subversion 1.2.0
>  
>
That one certainly requires apr-1.0 (or newer :) ), but the other one is 
found first,
and it's not binary compatible so the loading fails.

You can try to debug this by issuing a 'ldd 
/long/path/sw/lib/libsvn_subr-1.so.0'
in the shell and within the cgi to see the differences.

-- Christian




More information about the Trac mailing list