egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

mysqltcl problem

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
broodv2
Voice


Joined: 02 Oct 2009
Posts: 1

PostPosted: Fri Oct 02, 2009 10:26 am    Post subject: mysqltcl problem Reply with quote

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:
Quote:

http://forum.egghelp.org/viewtopic.php?t=16946

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
View user's profile Send private message
saibalban2
Voice


Joined: 07 Dec 2009
Posts: 2

PostPosted: Mon Dec 07, 2009 6:41 am    Post subject: Reply with quote

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
View user's profile Send private message
saibalban2
Voice


Joined: 07 Dec 2009
Posts: 2

PostPosted: Mon Dec 07, 2009 6:43 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber