| View previous topic :: View next topic |
| Author |
Message |
theice Voice
Joined: 13 Mar 2008 Posts: 36
|
Posted: Mon Apr 14, 2008 12:52 am Post subject: mysqltcl[solved] |
|
|
can't figure out how to install this at all-
the coding to utilize it seems super easy, I used the search feature still couldn't figure it out.
http://www.xdobry.de/mysqltcl/
http://www.xdobry.de/mysqltcl/mysqltcl-3.05.tar.gz
is what i want to use
I am using a freebsd shell, so I have no idea what to do, I just have a user account no root access or anything
Last edited by theice on Wed Apr 16, 2008 2:59 pm; edited 1 time in total |
|
| Back to top |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Mon Apr 14, 2008 10:49 am Post subject: Re: mysqltcl |
|
|
Best thing to do is ask your shell server admin if mysqltcl is installed on the server. |
|
| Back to top |
|
 |
theice Voice
Joined: 13 Mar 2008 Posts: 36
|
Posted: Mon Apr 14, 2008 3:52 pm Post subject: |
|
|
he installed it on the server,
but...
it is saying the package isn't there?
do I have to recomplie the bot or something? where do I put that
tried adding
load /usr/local/lib/mysqltcl-3.03/libmysqltcl3.03.so
to my eggdrop.conf is that all I have to do? |
|
| Back to top |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Mon Apr 14, 2008 11:30 pm Post subject: |
|
|
| recompile eggdrop and see if errors persist |
|
| Back to top |
|
 |
theice Voice
Joined: 13 Mar 2008 Posts: 36
|
Posted: Tue Apr 15, 2008 2:46 am Post subject: |
|
|
I can just recomplie the eggdrop, without changing any of the settings?
| Code: | [02:50] Tcl error in file 'eggdrop.conf':
[02:50] couldn't load file "/usr/local/lib/mysqltcl-3.05/libmysqltcl3.05": Cannot open "/usr/local/lib/mysqltcl-3.05/libmysqltcl3.05"
while executing
"load /usr/local/lib/mysqltcl-3.05/libmysqltcl3.05"
(file "eggdrop.conf" line 1347)
[02:50] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR) |
is what I get. |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Tue Apr 15, 2008 8:44 am Post subject: |
|
|
On most linux-based systems, loadable libraries would be suffixed by .so
Double-check the name of the path and filename of the library. Since it's a tcl-module and not an eggdrop-module, there is no need for recompiling your eggdrop. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
theice Voice
Joined: 13 Mar 2008 Posts: 36
|
Posted: Tue Apr 15, 2008 11:35 am Post subject: |
|
|
it was .so , I tried that also
| Code: | [11:34] couldn't load file "/usr/local/lib/mysqltcl-3.05/libmysqltcl3.05.so": Cannot open "/usr/local/lib/mysqltcl-3.05/libmysqltcl3.05.so"
while executing
"load /usr/local/lib/mysqltcl-3.05/libmysqltcl3.05.so"
(file "eggdrop.conf" line 1347) |
| Code: | | load /usr/local/lib/mysqltcl-3.05/libmysqltcl3.05.so |
^ is that what I need i my eggdrop.conf ? |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Tue Apr 15, 2008 11:49 am Post subject: |
|
|
Assuming that's the correct path to the file, yes.
Could you also check the file permissions of that file? (ls -l) _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
theice Voice
Joined: 13 Mar 2008 Posts: 36
|
Posted: Tue Apr 15, 2008 7:00 pm Post subject: |
|
|
the permissions are correct to be accessed from my shell account..
any other ideas? |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Wed Apr 16, 2008 9:48 am Post subject: |
|
|
Could you please paste the output from | Code: | | ldd /usr/local/lib/mysqltcl-3.05/libmysqltcl3.05.so |
_________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
theice Voice
Joined: 13 Mar 2008 Posts: 36
|
Posted: Wed Apr 16, 2008 12:51 pm Post subject: |
|
|
I asked a different admin for my hosting company to see what was up, and he got it working in 2 minutes ROFL.
| Code: | libmysqlclient.so.16 => /usr/local/lib/mysql/libmysqlclient.so.16 (0x2816b000)
libcrypt.so.3 => /lib/libcrypt.so.3 (0x281cf000)
libm.so.4 => /lib/libm.so.4 (0x281e7000)
libz.so.3 => /lib/libz.so.3 (0x281fd000) |
so I think it is working good now |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Wed Apr 16, 2008 12:56 pm Post subject: |
|
|
Good,
In many cases, these errors are due to improperly configured ld (the library responsible for loading dynamically linked libraries). Especially with "non-standard" installationpaths, it's very easy to forget to edit /etc/ld.so.conf and/or running ldconfig after installation.
Anyway, good luck and happy scripting.. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
theice Voice
Joined: 13 Mar 2008 Posts: 36
|
Posted: Wed Apr 16, 2008 3:05 pm Post subject: |
|
|
| thanks for your help |
|
| Back to top |
|
 |
|