Bug 683618

Summary: tcl command 'package require sqlite3' fails despite both tcl and sqlite3 being installed
Product: [Fedora] Fedora Reporter: mcneill.bernard693
Component: tclAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 14CC: jskarvad, wart
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-15 13:14:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description mcneill.bernard693 2011-03-09 21:19:51 UTC
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15

tcl installed and returns '%' to 'tclsh'.
sqlite installed and returns 'SQLite version 3.6.23.1' to 'sqlite3'.
but against tcl prompt (%) 'package require sqlite3' produces error message 'can't find package sqlite3'.

Reproducible: Always

Steps to Reproduce:
1. Install tcl and prove by entering 'tclsh' and getting back '%'
2. Install sqlite3 and prove by entering 'sqlite3' and getting back 'SQLite version 3.6.23.1'
3. Against the tclsh prompt of '%', enter 'package require sqlite3'
4. And the error message 'can't find package sqlite3' is returned
Actual Results:  
Get the error message 'can't find package sqlite3'.

Expected Results:  
No error message.  (Invisibly) establish interface between tcl and sqlite, so tcl can use sqlite databases.

Looks like the same error reported on this link:
http://osdir.com/ml/debian-bugs-dist/2011-03/msg02665.html

Comment 1 Jaroslav Škarvada 2011-03-15 10:07:36 UTC
I am unable to reproduce. Do you install the sqlite-tcl?

[root@nec-em15 ~]# rpm -q tcl sqlite-tcl
tcl-8.5.8-2.fc14.i686
sqlite-tcl-3.6.23.1-1.fc14.i686

[root@nec-em15 ~]# tclsh
% package require sqlite3
3.6.23.1

Comment 2 mcneill.bernard693 2011-03-15 12:53:58 UTC
# rpm -q tcl
Returns 'tcl-8.5.8-2.fc14.i686'

# rpm -q sqlite
Returns 'sqlite-3.6.23.1-1.fc14.i686'

# rpm -q sqlite-tcl
Returns 'package sqlite-tcl is not installed'

Comment 3 Jaroslav Škarvada 2011-03-15 13:14:45 UTC
Thanks, closing as not a bug. You need to install the sqlite-tcl.