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.

1.6.8 make & tcl problem

Old posts that have not been replied to for several years.
Locked
f
forbid

Post by forbid »

I have a problem during the make process of eggdrop1.6.8, here is the error message.


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

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


ld.so.1: ./eggdrop: fatal: libtcl8.3.so: open failed: No such file or directory
*** Error code 137
make: Fatal error: Command failed for target `modegg'

Guppy said something is wrong with my tcl instllation and that I should change some PATH to tcl directory... how do i locate the PATH file and where is the TCL directory on my sunos UNIX? I didnt' install tcl, i just typed tclsh and got a %, so I assumed its already on.
g
guppy
eggdrop engineer
Posts: 199
Joined: Mon Sep 24, 2001 8:00 pm
Location: Canada
Contact:

Post by guppy »

LD_LIBRARY_PATH not PATH

find where your tcl lib is and do
export LD_LIBRARYPATH=thatpath
f
forbid

Post by forbid »

Guppy, I didn't install tcl, someone else did on my system, all I did was typing tclsh, and a % appeared meaning tcl is installed on, but I'm not sure its an old version or anything. I can't find the file under /urs/lib, where do you think I can find it and have LD_LIBRARYPATH link to it?

Thanks a lot
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

OK - Firsxt start off, by typing "./configure"

You will need to read the output it gives once it has finished.

There is about a line block, related to detecting Tcl, you should paste this block into a post, and we can help you from there.
f
forbid

Post by forbid »

checking for dlopen... no
checking for dprintf... no
checking for snprintf... yes
checking for vsnprintf... yes
checking for isascii... yes
checking for inet_aton... yes
checking for memcpy... yes
checking for strftime... yes
checking for fsync... yes
checking for vsprintf... yes
checking for broken libsafe sscanf... no
checking for Tcl library... found /usr/local/lib/libtcl.a
checking for Tcl header... found /usr/local/include/tcl.h
checking whether the Tcl system has changed... yes
checking for Tcl version... 7.6
checking for Tcl patch level... 7.6
checking for Tcl_Free in -ltcl... yes
checking for TclpFinalizeThreadData in -ltcl... no
configure: warning:

Your Tcl library is not a shared lib.
configure will now set default make type to static...

configure: creating ./config.status
¢¾or 166%

I dont really get all these, if you can explain it, thanks
f
forbid

Post by forbid »

and guppy, somehow my unix doesn't recognize the "export" command, is there another way? thx
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

setenv
f
forbid

Post by forbid »

is this how i should do it?

setenv LD_LIBRARYPATH="/usr/local/lib/libtcl.a"

then ./configure | make config | make ?

problem still exist, i have tcl version 7.6 as it shown in previouis posts and is my LD_LIBRARYPATH correct? is getting a new version of tcl neccessary? thx
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

LD_LIBRARY_PATH, note the second underscore.
Locked