Bug 516411 - sqlite2-tcl installation path problem
Summary: sqlite2-tcl installation path problem
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: sqlite2
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Alex Lancaster
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-09 12:44 UTC by hkoba
Modified: 2009-08-27 02:11 UTC (History)
1 user (show)

Fixed In Version: 2.8.17-5.fc11
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-08-27 02:11:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch for sqlite2.spec (630 bytes, patch)
2009-08-09 12:46 UTC, hkoba
no flags Details | Diff

Description hkoba 2009-08-09 12:44:46 UTC
Description of problem:

sqlite2-tcl is installed into wrong place.

Currently: /usr/lib64/sqlite-2.8.17
It should: /usr/lib64/tcl8.5/sqlite2  (or minor versioned, if you prefer)



  myhost% rpm -q sqlite2-tcl
  sqlite2-tcl-2.8.17-3.fc11.x86_64

  myhost% rpm -ql sqlite2-tcl
  /usr/lib64/sqlite-2.8.17
  /usr/lib64/sqlite-2.8.17/libtclsqlite.so
  /usr/lib64/sqlite-2.8.17/libtclsqlite.so.0
  /usr/lib64/sqlite-2.8.17/libtclsqlite.so.0.8.6
  /usr/lib64/sqlite-2.8.17/pkgIndex.tcl
  /usr/share/doc/sqlite2-tcl-2.8.17
  /usr/share/doc/sqlite2-tcl-2.8.17/tclsqlite.html

  myhost% cat /usr/lib64/sqlite-2.8.17/pkgIndex.tcl
  package ifneeded sqlite 2 [list load [file join $dir libtclsqlite.so]]



  myhost% rpm -ql sqlite-tcl
  /usr/lib64/tcl8.5/sqlite3
  /usr/lib64/tcl8.5/sqlite3/libtclsqlite3.so
  /usr/lib64/tcl8.5/sqlite3/pkgIndex.tcl


How reproducible:

  myhost% tclsh
  % package require sqlite
  can't find package sqlite
  % package require sqlite 2
  can't find package sqlite 2
  % package require sqlite3
  3.6.12
  %

Workaround:

 # cd /usr/lib64/tcl8.5
 # ln -s ../sqlite-2.8.17 sqlite2

Attached patch also fixes this (I expect).

Comment 1 hkoba 2009-08-09 12:46:21 UTC
Created attachment 356806 [details]
patch for sqlite2.spec

Comment 2 Fedora Update System 2009-08-19 07:10:14 UTC
sqlite2-2.8.17-5.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/sqlite2-2.8.17-5.fc11

Comment 3 Fedora Update System 2009-08-19 23:16:52 UTC
sqlite2-2.8.17-5.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update sqlite2'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-8762

Comment 4 hkoba 2009-08-21 07:04:19 UTC
That worked for me, thank you!

Z-old(pts/0)% wish
wish8.5 [~/db/monthly/200908]package require sqlite 2
2.0
wish8.5 [~/db/monthly/200908]
Z-old(pts/0)% rpm -q sqlite2-tcl
sqlite2-tcl-2.8.17-5.fc11.x86_64
Z-old(pts/0)%

Comment 5 Fedora Update System 2009-08-27 02:11:36 UTC
sqlite2-2.8.17-5.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.