This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ned.deily
Recipients chris.jerdonek, ghaering, jftuga, ned.deily, r.david.murray
Date 2012-08-21.23:22:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1345591332.42.0.234255978743.issue15754@psf.upfronthosting.co.za>
In-reply-to
Content
The magic for building the standard library's dynamically loaded extensions is in the top-level setup.py.  It uses Distutils to do the work with a lot of hacking around in setup.py.  Without modifying setup.py, it can be a little tricky to override the search order if you are trying to substitute a library that already exists in one of the normal system locations, particularly if you only want to override for that particular library.  Perhaps the easiest and surest approach is to build and install the library (in this case libsqlite3) into a unique install root and then include the paths to the include and lib directories in the ./configure command for Python, so something like:

   ./configure [other options] LDFLAGS='-L /path/to/sqlite3/lib ' CPPFLAGS='-I /path/to/sqlite3/include '
History
Date User Action Args
2012-08-21 23:22:12ned.deilysetrecipients: + ned.deily, ghaering, r.david.murray, chris.jerdonek, jftuga
2012-08-21 23:22:12ned.deilysetmessageid: <1345591332.42.0.234255978743.issue15754@psf.upfronthosting.co.za>
2012-08-21 23:22:11ned.deilylinkissue15754 messages
2012-08-21 23:22:11ned.deilycreate