On Wed, Feb 22, 2006 at 12:09:06PM -0500, Matthew Wilson wrote: > I am trying to install trac on an ubuntu 5.10 server (following the > directions here: http://projects.edgewall.com/trac/wiki/TracOnUbuntu ). > Everything works great until I try to invoke trac-admin, where it prints > out a partial backtrace and dumps "ImportError: libsvn_swig_py-1.so.0: > cannot open shared object file: No such file or directory" > > I am not terribly competent (though learning!) linux -- and I'm no > python wizard. Can anyone tell me how/where to find this missing library? > > I have installed apache2, python2.4, subversion -- all from the > Breezy/universe packages.
The library you mention is in libsvn0. This package should be pulled in by the dependencies of subversion. I'm guessing that the library itself is missing one of it's dependencies -- running "ldd /usr/lib/libsvn_swig_py-1.so.0" should tell you which library is missing. I'm going to guess that you haven't installed python2.4-subversion. The packages which the 0.9.2-1ubuntu1 package of trac depends on are: python (<< 2.5), python (>= 2.4), python-clearsilver (>= 0.9.3), python-pysqlite2 | python-sqlite (>= 0.4.3) | python2.4-psycopg, python2.4-subversion (>= 0.37), subversion (>= 1.0.1) So, if you want to runn an SQLite Trac instance, you should be able to get all of the dependencies by running: apt-get install python python-clearsilver python-pysqlite2 python2.4-subversion subversion (watch the linewrapping) I don't know what instructions the wiki page you referenced gives (I'm running offline at the moment), but it's generally a good idea to run stuff from packages if possible -- all of the dependency information means that, in general, things Just Work. The trac packages in Ubuntu dapper run fine in Breezy (at least 0.9.2-1ubuntu1 does -- I'm running it on this here breezy laptop without a hitch). - Matt _______________________________________________ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac
