New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
linking issue on centos 6 #85
Comments
A possible workaround is to statically link against the SQLite amalgamation. Download the SQLite amalgamation from https://sqlite.org/download.html, then from the archive, put the files into the pysqlite root directory and build pysqlite with: python setup.py build_static |
Would the same solution apply in principle if compiling Python from source on CentOS 6, or should I file an issue with Python instead? e.g. trying Python 3.6 rc1,
|
Python doesn't support the amalgamation version. You'll need to update your system sqlite version. But we probably can add a |
+1 for the it would be nice to have some build flags that can point to the correct sqlite library |
i am installing the mhn in centos6.9 when i get the problem. i did some search. and soleved it with the follow two commands. |
@scopion 's method worked like a charm for me. Cenos 6 is a pitty because its package manager is said to be bound up to Python 2.6. I compiled Py 2.7.14 from source code following the link above. Hope this would help people dow the line. :) |
Centos 6 comes with SQLite 3.6.20
Installing latest pysqlite on python 2.7 gives the below error when attempting to use this module.
/python2.7/site-packages/pysqlite2/_sqlite.so: undefined symbol: sqlite3_stmt_readonly
It seems like sqlite3_stmt_readonly was only supplied with SQLite 3.7+, are there any workarounds for this?
The text was updated successfully, but these errors were encountered: