Ticket #3937 (closed defect: worksforme)
sqlite.so cannot be opened on RHEL 4
| Reported by: | klaus@… | Owned by: | jonas |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.10 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Hi, I followed the instructions on http://trac.edgewall.org/wiki/TracOnRhel4, and it installed sqlite-2.8.16, python-sqlite-1.0.1, on python 2.3.4, and Trac 0.10.
However, when running the "trac-admin ... initenv", it complains about not being able to find sqlite.
When I try to import sqlite, I get an error although it seems to be installed:
% python
Python 2.3.4 (#1, Feb 6 2006, 10:38:45)
[GCC 3.4.5 20051201 (Red Hat 3.4.5-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sqlite;
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.3/site-packages/sqlite/__init__.py", line 1, in ?
import _sqlite
ImportError: /usr/lib/python2.3/site-packages/_sqlite.so: cannot open shared object file: No such file or directory
>>>
The file "_sqlite.so" is actually there:
% ls -l /usr/lib/python2.3/site-packages/*sql* -rwxr-xr-x 1 root root 60610 Jan 9 2006 /usr/lib/python2.3/site-packages/_sqlite.so /usr/lib/python2.3/site-packages/sqlite: total 80 -rw-r--r-- 1 root root 2304 Oct 21 2004 __init__.py -rw-r--r-- 1 root root 2417 Jan 9 2006 __init__.pyc -rw-r--r-- 1 root root 2417 Jan 9 2006 __init__.pyo -rw-r--r-- 1 root root 17418 Oct 21 2004 main.py -rw-r--r-- 1 root root 24281 Jan 9 2006 main.pyc -rw-r--r-- 1 root root 24281 Jan 9 2006 main.pyo
Any idea on how to get it working?
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


