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.

Compile/Linkage...

Old posts that have not been replied to for several years.
Locked
c
criix

Compile/Linkage...

Post by criix »

when compileing i get the following...

Linking eggdrop...

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_file.o modules.o net.o rfc1459.o tcl.o tcldcc.o tclhash.o tclmisc.o tcluser.o userent.o userrec.o users.o -L/usr/local/ActiveTcl/lib -ltcl8.5 -lm -ldl -lnsl md5/md5c.o compat/*.o `cat mod/mod.xlibs`
strip ../eggdrop
Successful compile: eggdrop

make[1]: Leaving directory `/home/tfzbot/eggdrop1.6.15/src'

./eggdrop: error while loading shared libraries: libtcl8.5.so: cannot open shared object file: No such file or directory
make: *** [modegg] Error 127
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

This is quoted from the default README file that comes with every bot:

6l. I GET "ld-elf.so.1: Shared object "libtcl80.so.1" not found" or
"eggdrop: error in loading shared libraries libtcl8.1.so: \
cannot open shared object file: No such file or directory" WHEN I TRY
TO START MY BOT.

'./configure' is looking in the wrong place for Tcl; it looks like it
compiled with one version of Tcl and tries to load another. Maybe your
sysadmin upgraded Tcl and didn't tell you. In that case, you should just
need to recompile your bot.

Maybe, when upgrading, he didn't clean the old version of Tcl and
'./configure' is looking for the files in the wrong places, or trying
to use different versions of tcl.h and libtcl*. Smack your admin and
have him install Tcl properly. ;)

You can also try:

./configure --with-tcllib=<path-to-tcl-lib>
--with-tclinc=<path-to-tcl-inc>

This will tell configure where to look for the Tcl files.

Try looking for libtcl by:

ls /usr/lib/libtcl*
ls /usr/local/lib/libtcl*

Try looking for tcl.h by:

ls /usr/include/tcl.h
ls /usr/local/include/tcl.h

If everything else fails, try to install Tcl to your home dir ;)

:mrgreen:
Locked