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.
Help for those learning Tcl or writing their own scripts.
theice
Voice
Posts: 36 Joined: Thu Mar 13, 2008 4:20 pm
Post
by theice » Mon Apr 14, 2008 12:52 am
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.
DragnLord
Owner
Posts: 711 Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA
Post
by DragnLord » Mon Apr 14, 2008 10:49 am
Best thing to do is ask your shell server admin if mysqltcl is installed on the server.
theice
Voice
Posts: 36 Joined: Thu Mar 13, 2008 4:20 pm
Post
by theice » Mon Apr 14, 2008 3:52 pm
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?
DragnLord
Owner
Posts: 711 Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA
Post
by DragnLord » Mon Apr 14, 2008 11:30 pm
recompile eggdrop and see if errors persist
theice
Voice
Posts: 36 Joined: Thu Mar 13, 2008 4:20 pm
Post
by theice » Tue Apr 15, 2008 2:46 am
I can just recomplie the eggdrop, without changing any of the settings?
Code: Select all
[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.
nml375
Revered One
Posts: 2860 Joined: Fri Aug 04, 2006 2:09 pm
Post
by nml375 » Tue Apr 15, 2008 8:44 am
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
theice
Voice
Posts: 36 Joined: Thu Mar 13, 2008 4:20 pm
Post
by theice » Tue Apr 15, 2008 11:35 am
it was .so , I tried that also
Code: Select all
[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: Select all
load /usr/local/lib/mysqltcl-3.05/libmysqltcl3.05.so
^ is that what I need i my eggdrop.conf ?
nml375
Revered One
Posts: 2860 Joined: Fri Aug 04, 2006 2:09 pm
Post
by nml375 » Tue Apr 15, 2008 11:49 am
Assuming that's the correct path to the file, yes.
Could you also check the file permissions of that file? (ls -l)
NML_375
theice
Voice
Posts: 36 Joined: Thu Mar 13, 2008 4:20 pm
Post
by theice » Tue Apr 15, 2008 7:00 pm
the permissions are correct to be accessed from my shell account..
any other ideas?
nml375
Revered One
Posts: 2860 Joined: Fri Aug 04, 2006 2:09 pm
Post
by nml375 » Wed Apr 16, 2008 9:48 am
Could you please paste the output from
Code: Select all
ldd /usr/local/lib/mysqltcl-3.05/libmysqltcl3.05.so
NML_375
theice
Voice
Posts: 36 Joined: Thu Mar 13, 2008 4:20 pm
Post
by theice » Wed Apr 16, 2008 12:51 pm
I asked a different admin for my hosting company to see what was up, and he got it working in 2 minutes ROFL.
Code: Select all
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
nml375
Revered One
Posts: 2860 Joined: Fri Aug 04, 2006 2:09 pm
Post
by nml375 » Wed Apr 16, 2008 12:56 pm
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
theice
Voice
Posts: 36 Joined: Thu Mar 13, 2008 4:20 pm
Post
by theice » Wed Apr 16, 2008 3:05 pm
thanks for your help