Mathieu LARCHET wrote:
Sorry but that's no help.
I tried to change pgtclsh to tclsh, but here is my error :

can't find package Pgtcl while executing "package require Pgtcl"

tclsh8.4 is located at /usr/share/tclsh8.4

postgresql-tcl RPM extracts its files in /usr/lib/Pgtcl

Well, that's weird. On my 64 bit machine, /usr/lib/Pgtcl/pkgIndex.tcl says this:

#
# Tcl package index file
#
package ifneeded Pgtcl 1.6.0 \
   [list load [file join $dir libpgtcl1.6.0.so] pgtcl]

Mine you, that's Fedora 8 and it's version 8.2.6-1.fc8. On my freshly installed Centos5 machine, though, that same file contains nothing but comments.

I put this at the end of /usr/lib/Pgtcl/pkgIndex.tcl and the "package require" then worked:

package ifneeded Pgtcl 1.5.2 \
       [list load [file join $dir libpgtcl1.5.2.so] pgtcl]

You might want to pop a bug into bugzilla.

jch

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to