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.

NetBSD TCL problem (always the same)

Old posts that have not been replied to for several years.
Locked
g
ganchan

NetBSD TCL problem (always the same)

Post by ganchan »

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-use ... /0017.html
here there is a solution but i donnow how i can apply
tnx
byby
W
Wcc
Master
Posts: 278
Joined: Sun Oct 28, 2001 8:00 pm
Location: USA
Contact:

Post by Wcc »

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: Select all

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: Select all

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.
Locked