I finally get Trac running with FastCGI on Nginx (http://trac.edgewall.org/wiki/TracFastCgi#SimpleNginxConfiguration). Also, Subversion was installed together with dependency package from souce download and I invoked svnserve as a daemon and created my repository. Everything seems fine.
I wanted to browser my repository in Trac. After I added respository into Trac from the Trac web interface where it required a name and my repo directory. A message said:
You should now run trac-admin $ENV repository resync "My Repo" to synchronize Trac with the repository.
So I did. I did by user "trac" which is the same user that I created the Trac environment.
Then I got this:
Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/local/lib/libsvn_ra_neon-1.so.0: undefined symbol: xmlFreeParserCtxt). Look in the Trac log for more information.
Here is what's in the log:
2012-06-03 18:28:51,060 Trac[svn_fs] INFO: Failed to load Subversion bindings
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/trac/versioncontrol/svn_fs.py", line 267, in __init__
File "build/bdist.linux-x86_64/egg/trac/versioncontrol/svn_fs.py", line 68, in _import_svn
File "/usr/local/lib/svn-python/svn/fs.py", line 19, in ?
from libsvn.fs import *
File "/usr/local/lib/svn-python/libsvn/fs.py", line 7, in ?
import _fs
ImportError: /usr/local/lib/libsvn_ra_neon-1.so.0: undefined symbol: xmlFreeParserCtxt
Someone said that it's permisson issue that webserver and Trac are running by different user. But I don't know how to fix. Some said that it's the binding that I should reinstall. I tried go to python console and type 'import svn'. Nothing happened.
Any idea what's going on?