This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

mysqltcl problem

General support and discussion of Eggdrop bots.
Post Reply
b
broodv2
Voice
Posts: 1
Joined: Fri Oct 02, 2009 10:06 am

mysqltcl problem

Post by broodv2 »

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: Select all

package require mysqltcl
Now, with fedora 11, when I start the bot i get:
can't find package mysqltcl
When I change the code into:

Code: Select all

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:
/usr/local/lib/tcl8.5.4
So if the above is right, my question is, how can I install it to that folder?

Thanks
s
saibalban2
Voice
Posts: 2
Joined: Mon Dec 07, 2009 6:36 am

Post by saibalban2 »

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.
s
saibalban2
Voice
Posts: 2
Joined: Mon Dec 07, 2009 6:36 am

Post by saibalban2 »

In your case copy the folder /usr/local/lib/mysqltcl3.05/ to /usr/local/lib/tcl8.5.4 with cp -arv.
Everything should work.
Post Reply