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[solved]

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


Joined: 13 Mar 2008
Posts: 36

PostPosted: Mon Apr 14, 2008 12:52 am    Post subject: mysqltcl[solved] Reply with quote

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


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Mon Apr 14, 2008 10:49 am    Post subject: Re: mysqltcl Reply with quote

theice wrote:
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

Best thing to do is ask your shell server admin if mysqltcl is installed on the server.
Back to top
View user's profile Send private message
theice
Voice


Joined: 13 Mar 2008
Posts: 36

PostPosted: Mon Apr 14, 2008 3:52 pm    Post subject: Reply with quote

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


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Mon Apr 14, 2008 11:30 pm    Post subject: Reply with quote

recompile eggdrop and see if errors persist
Back to top
View user's profile Send private message
theice
Voice


Joined: 13 Mar 2008
Posts: 36

PostPosted: Tue Apr 15, 2008 2:46 am    Post subject: Reply with quote

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
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Tue Apr 15, 2008 8:44 am    Post subject: Reply with quote

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


Joined: 13 Mar 2008
Posts: 36

PostPosted: Tue Apr 15, 2008 11:35 am    Post subject: Reply with quote

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
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Tue Apr 15, 2008 11:49 am    Post subject: Reply with quote

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


Joined: 13 Mar 2008
Posts: 36

PostPosted: Tue Apr 15, 2008 7:00 pm    Post subject: Reply with quote

the permissions are correct to be accessed from my shell account..

any other ideas?
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Wed Apr 16, 2008 9:48 am    Post subject: Reply with quote

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


Joined: 13 Mar 2008
Posts: 36

PostPosted: Wed Apr 16, 2008 12:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Wed Apr 16, 2008 12:56 pm    Post subject: Reply with quote

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


Joined: 13 Mar 2008
Posts: 36

PostPosted: Wed Apr 16, 2008 3:05 pm    Post subject: Reply with quote

thanks for your help
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 -> Scripting 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