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.

Eggdrop Compile Problem

Old posts that have not been replied to for several years.
Locked
I
ImVision

Eggdrop Compile Problem

Post by ImVision »

Hi everyone. Im new to eggdrop, and im having some issues compiling eggdrop. When i type 'make' i get the following error:

Successful compile: eggdrop

make[1]: Leaving directory `/root/eggdrop/src'

./eggdrop: error while loading shared libraries: libtcl8.3.so: cannot open shared object file: No such file or directory
make: *** [modegg] Error 127

I have configured it, and i do have tcl installed on my system. My OS is RedHat9.

Any help would be greatley appreciated :)
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Hi,

TCL may have installed into /usr/local/lib; just link the .so file to /usr/lib/

Hope this helps. :)
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
I
ImVision

Post by ImVision »

No, tcl is installed to /usr/local/lib. I tried to make a static build but that gave me errors too :-?
G
GhostOfIRC

Question

Post by GhostOfIRC »

Why do you have eggdrop running in /root anyway?


Its a stretch, but perhaps something is messed up in your TCL install?
User avatar
Dedan
Master
Posts: 260
Joined: Wed Jul 09, 2003 10:50 pm
Location: Memphis

Post by Dedan »

i don't think eggdrop will run as root ....
try it in another dir 8)
I once was an intelligent young man, now i am old and i can not remember who i was.
T
TroyBoy

Post by TroyBoy »

I have the same problem:

My Linux box has an old install of TCL, so I installed tcl8.4.6 to /home/troy/tcl

During the install of eggdrop1.6.16 I used:

Code: Select all

[troy@parry eggdrop1.6.16]$ ./configure --with-tcllib=/home/troy/tcl/lib/libtcl8.4.so --with-tclinc=/home/troy/tcl/include/tcl.h
.
.
Building ./src/mod/Makefile... done.

Configure is done.

Type 'make config' to configure the modules, or type 'make iconfig'
to interactively choose which modules to compile.

[troy@parry eggdrop1.6.16]$ make config
.
.
creating Makefile

make[1]: Leaving directory `/home/troy/eggdrop1.6.16/src/mod'
Building ./src/mod/Makefile... done.

You can now compile the bot, using "make".

[troy@parry eggdrop1.6.16]$ make
make[1]: Entering directory `/home/troy/eggdrop1.6.16/src'
This may take a while. Go get some runts.
.
.
make[2]: Leaving directory `/home/troy/eggdrop1.6.16/src/compat'

---------- Yeah! That's the compiling, now the linking! ----------

Linking eggdrop: (standard build).

gcc -pipe -o ../eggdrop bg.o botcmd.o botmsg.o botnet.o chanprog.o cmds.o dcc.o dccutil.o dns.o flags.o language.o match.o main.o mem.o misc.o misc_fi
le.o modules.o net.o rfc1459.o tcl.o tcldcc.o tclhash.o tclmisc.o tcluser.o userent.o userrec.o users.o  -L/home/troy/tcl/lib -ltcl8.4 -lm -ldl -lnsl
 md5/md5c.o compat/*.o `cat mod/mod.xlibs`
touch ../eggdrop

Successful compile: eggdrop
.
.
All modules compiled.
make[1]: Leaving directory `/home/troy/eggdrop1.6.16/src/mod'

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

As you can see im not using root. I set the perms to 775 just to make sure it wasnt a permissions problem. Still no success.

How can I fix this?
T
TroyBoy

Post by TroyBoy »

http://forum.egghelp.org/viewtopic.php? ... =libtcl8+4

cp /home/troy/tcl/lib/libtcl8.4.so /usr/lib/

Luckily I just found this from a really old post.
And.... IT WORKED! :)
Locked