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.

Error when I run Make

Old posts that have not been replied to for several years.
Locked
U
Unexpected

Error when I run Make

Post by Unexpected »

Hey guys,

I'm pretty new to Linux and Eggdrop, but I am trying to run my own bot. I did a ./configure and all went well, but when I enter the make command, I get the following error:

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/lib -ltcl8.4 -lm -ldl -lnsl md5/md5c.o compat/*.o `cat mod/mod.xlibs`
strip ../eggdrop
Successful compile: eggdrop

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

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


I checked for that file libtcl8.4.so and it is on my computer @ /usr/local/lib/libtcl8.4.so


Can somebody please assist me on what to do next because I am all out of ideas :(

Thanks in advance!!!
User avatar
CrazyCat
Revered One
Posts: 1359
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

./configure --help
U
Unexpected

Post by Unexpected »

I tried it and then ran ./configure --libdir=/usr/local/lib/

the process checks for the files:

checking for Tcl library... found /usr/local/lib/libtcl8.4.so
checking for Tcl header... found /usr/local/include/tcl.h
checking whether the Tcl system has changed... yes
checking for Tcl version... 8.4
checking for Tcl patch level... 8.4.5
checking for Tcl_Free in -ltcl8.4... yes
checking for TclpFinalizeThreadData in -ltcl8.4... no


but again, in the end I get:

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/lib -ltcl8.4 -lm -ldl -lnsl md5/md5c.o compat/*.o `cat mod/mod.xlibs`
strip ../eggdrop
Successful compile: eggdrop

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

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


Any more ideas? thanks anyway!
User avatar
TALES
Halfop
Posts: 59
Joined: Sun Nov 09, 2003 8:45 am
Location: Netherlands
Contact:

Post by TALES »

d
djtech

Post by djtech »

Unexpected wrote:I tried it and then ran ./configure --libdir=/usr/local/lib/

...clip...

Any more ideas? thanks anyway!
What OS are you on? If Solaris try this:

LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH

& retry
User avatar
gumbydammit
Master
Posts: 311
Joined: Thu Sep 05, 2002 4:52 pm
Location: Canada
Contact:

Post by gumbydammit »

put /usr/local/lib into /etc/ld.so.conf and run ldconfig. or if on bsd do a ldconfig -m /usr/local/lib
many many posts on this forum about this exact same question.. try getting more friendly with the search function :)
a.k.a. hellios
Locked