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.

TCL issues with SunOS 5.8 and eggdrop 1.6.8

Old posts that have not been replied to for several years.
Locked
m
magey

Post by magey »

after compiling and installing tcl 8.4 with ./configure and make install, i run configure for eggdrop, it completes fine. when i try to compile eggdrop, all the compilation goes fine, but when it gets to the linking part i get this:

ld.so.1: ./eggdrop: fatal: libtcl8.4.so: open failed: No such file or directory
Killed
make: *** [modegg] Error 137

I've tried using --with-tcllib and --with-tclinc.. I got the same error.. and the file IS in the path i specify / the path that configure finds.. i manually checked dozens of times..

I'm running SunOS 5.8 SPARC with eggdrop 1.6.8..
I tried this both with TCL 8.3 and 8.4.. got the same errors..

Any help would be appreciated!

P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

make static
m
magey

Post by magey »

this is what i get after i totally erase the bot dir and re un-tar it, and do
./configure
make config
make static
.
.

Linking eggdrop... (static version)

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

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

ld.so.1: ./eggdrop: fatal: libtcl8.4.so: open failed: No such file or directory
Killed
make: *** [static] Error 137

:sad:


<font size=-1>[ This Message was edited by: magey on 2002-02-09 18:23 ]</font>
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

looks like you're missing the static tcl library (libtcl.a or libtcl8.4.a), thus the static compile is still trying to link tcl dynamically. Recompile tcl statically.
m
magey

Post by magey »

how do I do that?
make static in TCL doesnt work :/
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

./configure --disable-shared ; make
Locked