| View previous topic :: View next topic |
| Author |
Message |
broodv2 Voice
Joined: 02 Oct 2009 Posts: 1
|
Posted: Fri Oct 02, 2009 10:26 am Post subject: mysqltcl problem |
|
|
I upgraded my pc from fedora 6 to fedora 11.
I did a fresh install.
I installed tcl8.5.4, seems to work correct.
The problem starts with mysqltcl 3.05.
So with fedora 6, I started my bot and it all worked,
the script haves the code:
| Code: |
package require mysqltcl
|
Now, with fedora 11, when I start the bot i get:
| Quote: |
can't find package mysqltcl
|
When I change the code into:
| Code: |
load /usr/local/lib/mysqltcl3.05/libmysqltcl.so
|
the bot starts with no error.
Now according to this threath:
Someone says mysqltcl is probably installed in a location where tcl does not look for packages.
So I probably need to install it to my tcl8.5.4 folder, which is:
| Quote: |
/usr/local/lib/tcl8.5.4
|
So if the above is right, my question is, how can I install it to that folder?
Thanks |
|
| Back to top |
|
 |
saibalban2 Voice
Joined: 07 Dec 2009 Posts: 2
|
Posted: Mon Dec 07, 2009 6:41 am Post subject: |
|
|
| Simply copy the content of /usr/lib/mysqltcl-3.05 folder to /usr/lib/tcl$ver/. All tcl packages are located typically under /usr/lib/tcl$ver folder. Tcl will be able to locate your mysqltcl package from there. |
|
| Back to top |
|
 |
saibalban2 Voice
Joined: 07 Dec 2009 Posts: 2
|
Posted: Mon Dec 07, 2009 6:43 am Post subject: |
|
|
In your case copy the folder /usr/local/lib/mysqltcl3.05/ to /usr/local/lib/tcl8.5.4 with cp -arv.
Everything should work. |
|
| Back to top |
|
 |
|