egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

NetBSD TCL problem (always the same)

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
ganchan
Guest





PostPosted: Sat Jan 03, 2004 12:45 pm    Post subject: NetBSD TCL problem (always the same) Reply with quote

after ./configure --with-tcllib=/usr/pkg/lib/libtcl83.so --with-tclinc=/usr/pkg/include/tcl.h
all go ok
but at the end of make

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/pkg/lib -ltcl83 -lm md5/md5c.o compat/*.o `cat mod/mod.xlibs`
/usr/pkg/lib/libtcl83.so: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp()
strip ../eggdrop
Successful compile: eggdrop


Shared object "libtcl83.so.1" not found
*** Error code 1

seems that lost the link to the lib path during compiling
http://mail-index.netbsd.org/netbsd-users/2001/10/15/0017.html
here there is a solution but i donnow how i can apply
tnx
byby
Back to top
Wcc
Master


Joined: 28 Oct 2001
Posts: 278
Location: USA

PostPosted: Sat Jan 17, 2004 6:05 pm    Post subject: Reply with quote

First of all, don't use Eggdrop 1.3.x. Download a copy of Eggdrop 1.6.15 or 1.6.13 from www.eggheads.org. When Tcl isn't detected on your system, or Tcl won't link, here's what works 99.99999% of the time:

Code:

export LD_LIBRARY_PATH='/path/to/dir/containing/Tcl/library'

./configure --with-tclinc=/full/path/to/tcl.h --with-tcllib=/full/path/to/tcl/library

make config

make


Example:

Code:

export LD_LIBRARY_PATH='/usr/local/lib

./configure --with-tclinc=/usr/local/include/tcl.h --with-tcllib=/usr/local/lib/libtcl84.so

make config

make


There will be better documentation and a complete compile guide for various operating systems in 1.6.16.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber