setup.cfg says the files libsqlite3.so.0 should be in /usr/lib but there in /usr/local/lib should I just edit setup.cfg to point to that location? [EMAIL PROTECTED] pysqlite-2.3.3]# cat setup.cfg [build_ext] define= include_dirs=/usr/include library_dirs=/usr/lib libraries=sqlite3
________________________________ From: [email protected] on behalf of Emmanuel Blot Sent: Thu 4/5/2007 8:08 AM To: [email protected] Subject: [Trac] Re: Trac install > I built and installed pysqlite-2.3.3m without error but when I tried running > the test I get this output > any ideas? It looks like the dynamic loaded is not able to locate the sqlite library. On linux, force a refresh of the ld cache (see /sbin/ldconfig) You can run /sbin/ldconfig -v | grep sqlite to ensure the library can be found by the loader. If not, edit /etc/ld.so.conf and re-run ldconfig. You can also define the LD_LIBRARY_PATH env. variable (see a previous email ~12 hours ago in this very ML) HTH, Manu > > [EMAIL PROTECTED] opt]# python > Python 2.3.4 (#1, Sep 26 2006, 17:23:01) > [GCC 3.4.6 20060404 (Red Hat 3.4.6-3)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> from pysqlite2 import test > Traceback (most recent call last): > File "<stdin>", line 1, in ? > File > "/usr/lib/python2.3/site-packages/pysqlite2/test/__init__.py", > line 25, in ? > from pysqlite2.test import dbapi, types, userfunctions, factory, > transactions,\ > File > "/usr/lib/python2.3/site-packages/pysqlite2/test/dbapi.py", > line 26, in ? > import pysqlite2.dbapi2 as sqlite > File > "/usr/lib/python2.3/site-packages/pysqlite2/dbapi2.py", > line 27, in ? > from pysqlite2._sqlite import * > ImportError: libsqlite3.so.0: cannot open shared object file: No such file > or directory > >>> > > > ________________________________ > From: [email protected] on behalf of Emmanuel Blot > Sent: Thu 4/5/2007 6:49 AM > To: [email protected] > Subject: [Trac] Re: Trac install > > > > > > > in this command trac-admin /path/to/myproject initenv is path/to/ > > myproject the SVN path or the trac path? > > trac path (the same path you give to tracd, btw). > svn repository path is only defined in trac.ini (and prompted once > from trac-admin when you create a new trac project) > > > NameError: global name 'sqlite' is not defined > > Failed to initialize environment. 1 > > It means trac cannot find the PySQLite library. > > Cheers, > Manu > > > > > > > -- Manu --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
<<inline: winmail.dat>>
