| View previous topic :: View next topic |
| Author |
Message |
Leatherface Voice
Joined: 18 Aug 2005 Posts: 4
|
Posted: Tue Feb 07, 2006 4:50 pm Post subject: Can't find mysqltcl package |
|
|
hello
I have a problem with mysqltcl. I installed TCL8.4 and mysqltcl-3.01 on my fedora core 4 distro. I've set the paths to locate the mysqltcl as followed:
| Code: |
% pkg_mkIndex /usr/local/lib/mysqltcl-3.01
% lappend auto_path /usr/local/lib/mysqltcl-3.01
/usr/share/tcl8.4 /usr/share /usr/lib /usr/local/lib/mysqltcl-3.01
% lappend auto_path /root/home/prebot/scripts/file.tcl
/usr/share/tcl8.4 /usr/share /usr/lib /usr/local/lib/mysqltcl-3.01 /root/home/prebot/scripts/file.tcl
% package require mysqltcl
3.01
%
|
Then after doing this, I try starting eggdrop and I get this error:
| Code: |
[15:41] Tcl error in file 'file.conf':
[15:41] can't find package mysqltcl 3.01
while executing
"package require mysqltcl 3.01"
(file "scripts/file.tcl" line 1)
invoked from within
"source scripts/file.tcl"
(file "file.conf" line 1376)
[15:41] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
|
And now I'm lost, after looking for more information here on the forums and on google (without any luck)...
Could someone help me out? What did I wrong or what did I forget to do?
That would be nice
Thanks |
|
| Back to top |
|
 |
bras Voice
Joined: 03 Feb 2006 Posts: 7
|
Posted: Tue Feb 07, 2006 5:31 pm Post subject: |
|
|
You have to load your libmysqltcl.so in your tcl script... for example
| Code: |
load /usr/local/lib/tcl8.4/mysqltcl/libmysqltcl.so.3
|
|
|
| Back to top |
|
 |
Leatherface Voice
Joined: 18 Aug 2005 Posts: 4
|
Posted: Tue Feb 07, 2006 6:54 pm Post subject: |
|
|
Thanks for the quick reply bras, never thought to that.
It worked !
Thanks |
|
| Back to top |
|
 |
darkrad Voice
Joined: 10 Sep 2003 Posts: 16
|
Posted: Wed Apr 26, 2006 6:40 am Post subject: |
|
|
hello, i have same problem with :
| Code: | [12:24] couldn't load file "/usr/local/lib/mysqltcl-3.01/libmysqltcl3.01.so": /usr/lib/libmysqlclient.so.15: version `MYSQL_5.0' not found (required by /usr/local/lib/mysqltcl-3.01/libmysqltcl3.01.so)
while executing
"load /usr/local/lib/mysqltcl-3.01/libmysqltcl3.01.so"
|
can somebody say me what i need to do to fix that? thanks |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Wed Apr 26, 2006 12:14 pm Post subject: |
|
|
discussed numerous times before
search the forum _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
darkrad Voice
Joined: 10 Sep 2003 Posts: 16
|
Posted: Wed Apr 26, 2006 1:13 pm Post subject: |
|
|
| i already did, and that's why i resumed this topic, because i searched in the forum, and this was the topic that looks more like to my problem... i have this problem after have upgraded the ubuntu dapper linux distro. It's not a script problem, just some linux package got upgraded or removed.. need to know what to install/repair to get it working |
|
| Back to top |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Wed Apr 26, 2006 2:20 pm Post subject: |
|
|
edited to include quote:
| darkrad wrote: | | i already did, and that's why i resumed this topic, because i searched in the forum, and this was the topic that looks more like to my problem... i have this problem after have upgraded the ubuntu dapper linux distro. It's not a script problem, just some linux package got upgraded or removed.. need to know what to install/repair to get it working |
If you are having this trouble after recompiling eggdrop, your options are likely limited.
1) reinstall tcl and mysqltcl
2) search google for other problems like yours with ubuntu upgrades
3) contact the ubuntu developers letting them know that their upgrade
process may break programs
Last edited by DragnLord on Thu Apr 27, 2006 4:40 am; edited 1 time in total |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Thu Apr 27, 2006 12:16 am Post subject: |
|
|
it's a simple matter of installing mySQL client libraries, and that's all there is to it _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
|