| 249 | 4. If you're using Apache / mod_python (Linux) (second tip) |
| 250 | |
| 251 | If you have installed the Subversion .so-Files in some "remote" location, Apache may be unable to find them (and thus unable to pass them on to Python/Trac, such that Trac cannot find Subversion). To check if this is the case, do the following: |
| 252 | |
| 253 | {{{ |
| 254 | /etc/init.d/apache2 stop |
| 255 | $export LD_LIBRARY_PATH=/usr/lib/python/site-packages/libsvn/:$LD_LIBRARY_PATH |
| 256 | /etc/init.d/apache2 restart |
| 257 | }}} |
| 258 | |
| 259 | If this works, you need to add the library path permanently. There are two options for this. Either add it in the Apache configuration file (http://httpd.apache.org/docs/2.2/mod/mod_env.html#setenv) or at the system level by adding the path to /etc/ld.so.conf, and then run ldconfig. More information on shared libraries can be found here: http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html |
| 260 | |