Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8796699
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:40:56+00:00 2026-06-13T23:40:56+00:00

Good day. I am having trouble compiling pysqlite on windows. I have managed to

  • 0

Good day.

I am having trouble compiling pysqlite on windows. I have managed to start compiling with quite a bit of work but now I am stuck with this error:

d:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe: cannot find -lsqlite3

I have searched for possible solutions but most of the solutions are for linux.

Please help.

Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T23:40:57+00:00Added an answer on June 13, 2026 at 11:40 pm

    when compiling pysqlite2 from source, you need to edit the file setup.cfg which by default should look like:

    [build_ext]
    #define=
    #include_dirs=/usr/local/include
    #library_dirs=/usr/local/lib
    libraries=sqlite3
    define=SQLITE_OMIT_LOAD_EXTENSION
    

    You’ll need to uncomment include_dirs and library_dirs (remove the #) an make sure include_dirs points to the directory with the sqlite3 headers, and library_dirs to where sqlite3.dll can be found.

    Now you should be able to compile and install pysqlite2. After that, you should put sqlite3.dll somwhere it can be found (either somewhere on the PATH, or into Python27\Lib\site-packages\pysqlite2)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Good day everyone. I have been having the same problem all day at work
Good day! I am having errors in merging/combining/concatenating arrays. For example I have arrays,
Good day, I try to start new Activity from another. But it always crashed.
hope you're having a good day. I have been programming a IRC chatbot in
Good day all, I am having some trouble with image permissions. I am loading
Good day, I'm having a ton of trouble with the following php code, the
good day, i am having a bit of a problem here. i am using
Good day, I am having a little bit of a problem. I want to
Good day, I am having an interesting problem that I cannot understand. I have
Good day, this might be a silly question, am having a bit of dilemma

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.