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 

eggdrop can't find tcl8.4.7 libs even when installed

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
MtM
Guest





PostPosted: Mon Sep 06, 2004 8:11 pm    Post subject: eggdrop can't find tcl8.4.7 libs even when installed Reply with quote

At first I tried to install eggdrop, but I said I needed tcl. Ok, so I downloaded and installed tcl8.4.7.

I have tcl8.4.7 installed on rh9, and the libs are in the following location:

/usr/local/lib/libtcl8.4.so , etc

I 'make clean', then './configure' eggdrop, and everything goes fine. (It doesn't bitch about needing tcl anymore, and at the bottom, it says do 'make config'. So I do 'make config'

Everything goes fine, and it tells me to do 'make'.

So I go get my runts, and when I come back, I have this error:

All modules compiled.
make[1]: Leaving directory `/root/eggdrop1.6.17/src/mod'

Test run of ./eggdrop -v:
./eggdrop: error while loading shared libraries: libtcl8.4.so: cannot open shared object file: No such file or directory
make: *** [modules] Error 127

I've tried to configure with the --with-tcllib=/usr/local/lib/ and it gives me the error that my tcl is old or something (but it's the newest version)

Anyone have any ideas?
Back to top
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Sep 06, 2004 9:16 pm    Post subject: Reply with quote

Try this:
Code:
export LD_LIBRARY_PATH=/usr/local/lib:${LD_LIBRARY_PATH}

./configure --with-tclinc='/usr/local/include/tcl.h' --with-tcllib='/usr/local/lib/libtcl8.4.so'

_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
MtM
Guest





PostPosted: Mon Sep 06, 2004 9:49 pm    Post subject: Reply with quote

Well... that worked for installing it. It makes now, and I was able to 'make install DEST=/usr/local/eggdrop' And that seemed to work too. But now when I try to start the eggdrop. I am getting that same error about now being able to find the binary again. Any idea why it was able to make ok, and not it's not able to run?

Last edited by MtM on Mon Sep 06, 2004 10:23 pm; edited 1 time in total
Back to top
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Sep 06, 2004 10:18 pm    Post subject: Reply with quote

You weren't doing anything wrong MtM Smile

This particular problem seems to arise with the latest Red Hat version for some reason.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
matrixbs
Guest





PostPosted: Tue Sep 21, 2004 8:54 pm    Post subject: Reply with quote

you have to insert /usr/local/lib in /etc/ld.so.conf and then do "ldconfig".
Now you can compile your egg Wink
Back to top
TurboChicken
Halfop


Joined: 29 Sep 2004
Posts: 61

PostPosted: Sun Nov 07, 2004 6:14 pm    Post subject: Reply with quote

just to let people know... the same problem occurs in fedeora core... and this does work as a fix.... not just for eggyies
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun Nov 07, 2004 7:00 pm    Post subject: Reply with quote

do a `ldd eggdrop' and note the location of tcl library that eggdrop's binary is linked against

then before starting your bot, export LD_LIBRARY_PATH=/that/location/directory

thus eggdrop will be able to find its tcl lib
Back to top
View user's profile Send private message Visit poster's website
Jheremias
Voice


Joined: 11 Oct 2002
Posts: 20

PostPosted: Sat Nov 13, 2004 1:22 pm    Post subject: Reply with quote

matrix\ wrote:
you have to insert /usr/local/lib in /etc/ld.so.conf and then do "ldconfig".
Now you can compile your egg Wink


U Really ruleSmile

This problems occurs and at debian too. What exactly are we doing by adding this line ad this file? We tell the system that there are some libs at another location? Surprised


By adding it no problem with tcl occured:) Thanks a lot!
Back to top
View user's profile Send private message
XPFTP
Voice


Joined: 12 Apr 2005
Posts: 7

PostPosted: Sun Apr 17, 2005 6:17 pm    Post subject: mandrake also Reply with quote

just try to do this on mandrake to see if it work .. samething.. so this would tell me it is a eggdrop issue not a linux issue... no??? if it is doin the samething on as of now 3 diff versions of linux.. and i have try to enter the info stated b4 hand.. and i think i not understand it all.. as it doesnt work.. maybe a step by step .. install tcl with that command or is it install eggdrop with that command....... iam lost here
Back to top
View user's profile Send private message
dmacdonald111
Voice


Joined: 08 Sep 2005
Posts: 4
Location: swuk

PostPosted: Wed Oct 12, 2005 9:26 pm    Post subject: ...and another Reply with quote

Hi. I have read all of the posts regarding libtcl8.4.so and I am having exactly the same problems. I am using ubuntu.

I have tried all of the suggestions that I could find, but I am still having the same problem of the file not being found.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Wed Oct 12, 2005 10:13 pm    Post subject: Re: ...and another Reply with quote

dmacdonald111 wrote:
Hi. I have read all of the posts regarding libtcl8.4.so and I am having exactly the same problems. I am using ubuntu.

I have tried all of the suggestions that I could find, but I am still having the same problem of the file not being found.


what suggestions exactly?

the problem you are experiencing is one of the most common problems people are having with eggdrop (if not the most), it has been discussed zillion times already and the handful of working solutions presented over and over and over again
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
dmacdonald111
Voice


Joined: 08 Sep 2005
Posts: 4
Location: swuk

PostPosted: Wed Oct 12, 2005 10:29 pm    Post subject: Reply with quote

I have followed the suggestions from the posts that are on this forum. What other suggestions would I be talking about? I have been stuck trying to get this eggdrop to work for over seven hours and it's about to go out of the window! ah!
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Wed Oct 12, 2005 10:38 pm    Post subject: Reply with quote

what's stopping you from describing your exact experience with that? just explain what you did try, in details, and I'll try to help you out - you must have messed up something
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive 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