LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-12-2007, 08:37 AM   #1
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 435

Rep: Reputation: 28
No _sqlite3.so in /usr/lib/python2.5/lib-dynload


Python-2.5 has built in support for SQLite3, so pysqlite2 is no longer required. However, my application will not load because when /usr/lib/python2.5/sqlite3/dbapi2.py calls "from _sqlite3 import *", there is no _sqlite3.so found. Sure enough, it's not present in /usr/lib/python2.5/lib-dynload, where others have it installed.

Do I need to re-install the python2.5 package, or are others missing this library, too?

TIA,

Rich
 
Old 11-12-2007, 08:41 AM   #2
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 435

Original Poster
Rep: Reputation: 28
I just re-installed python2.5.1. There is no _sqlite3.so present.

What's the best way to correct this? I need to run my application while on a business trip starting tomorrow.

Rich
 
Old 11-12-2007, 02:11 PM   #3
rg3
Member
 
Registered: Jul 2007
Distribution: Fedora
Posts: 527

Rep: Reputation: Disabled
I don't know why exactly, but PV hasn't included sqlite3 in Slackware yet, so Python's built-in sqlite3 module isn't working. Personally I consider this a broken Python distribution, as the sqlite3 module should be available being standard in Python 2.5. I think at this moment you need to install sqlite3 and recompile Python to have it available.
 
Old 11-12-2007, 02:59 PM   #4
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 435

Original Poster
Rep: Reputation: 28
rg3:

I just came back to post that I found the problem and fixed it. You're absolutely correct: the default package is broken because it excludes the SQLite3 support distributed with the 2.5.1 source code.

By building from source and moving the library to /usr/lib/python2.5/lib-dynload/ I resolved the issue. There's still a wxPython issue with the very latest version that's yet to be resolved, but that's for the wxPython mail list.

Thanks,

Rich
 
  


Reply

Tags
library, sqlite3



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
oops, I stripped /usr/lib and /usr/X11R6/lib ! H_TeXMeX_H Slackware 2 02-08-2007 09:27 PM
audacity unable to locate required lib files present in /usr/lib/ adityavpratap Slackware 4 11-30-2006 06:06 AM
Compromised? Files "/usr/lib.hwm", "/usr/lib.pwd", "/usr/lib.pwi" Klaus Pforte Linux - Security 4 09-28-2004 11:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration