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.

Problem when compiling

General support and discussion of Eggdrop bots.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

put this in your ~/.profile or ~/.bash_profile:

Code: Select all

LD_LIBRARY_PATH=My_location; export LD_LIBRARY_PATH
and you won't have to type it every time

or better yet, put LD_LIBRARY_PATH=My_location in your cron file (don't forget to run crontab afterwards)
A
AssCrack25
Voice
Posts: 2
Joined: Thu Dec 30, 2004 9:48 pm

.profile seems to have worked :)

Post by AssCrack25 »

Thank you very much for the prompt reply, the line in the .profile seems to have worked like a charm :)
J
JMH

Post by JMH »

i have same problem...
but the libtcl8.4.so is in the normal dir.. but eggdrop cant find it..
thought maybe a symboliclink error but after trying to set it .. it tells me that it is set and to the right path!

so pls help me out
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

JMH wrote:i have same problem...
but the libtcl8.4.so is in the normal dir.. but eggdrop cant find it..
thought maybe a symboliclink error but after trying to set it .. it tells me that it is set and to the right path!

so pls help me out
Did you try the solution demond gave (edit .profile)?
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Use the Search function of the forum before posting.
Once the game is over, the king and the pawn go back in the same box.
s
soomon
Voice
Posts: 6
Joined: Sat Mar 04, 2006 10:23 am

Post by soomon »

hi,
i have a problem while compiling the eggdrop. it sais:

Code: Select all

 Your Tcl version is much too old for Eggdrop to use. You should
  download and compile a more recent version. The most reliable
  current version is 8.4.6 and can be downloaded from
  ftp://tcl.activestate.com/pub/tcl/tcl8_4/.

  See doc/COMPILE-GUIDE's 'Tcl Detection and Installation' section
  for more information.
but this is exactly what i did. i installed activetcl in the latest version.
so i tried:

./configure --with-tcllib='/usr/local/ActiveTcl/lib/libtcl8.4.so' <-- this path IS correct

Code: Select all

configure: warning:

  You must specify both --with-tcllib and --with-tclinc for either to work.

  configure will now attempt to autodetect both the Tcl library and header.

configure: warning:

  The file '' given to option --with-tcllib is not valid.

  configure will now attempt to autodetect both the Tcl library and header.

configure: warning:

  The file '' given to option --with-tclinc is not valid.

  configure will now attempt to autodetect both the Tcl library and header.

checking for Tcl library... using /lib
checking for Tcl header... using /
checking whether the Tcl system has changed... yes
checking for Tcl version...
checking for Tcl patch level...
configure: error:
but where's the problem?
i also tried the preinstalled tcl (8.4.6-12) and made a downgrad to 8.4.6-9
always the same error.
my eggdrop is 1.6.17 (1.6.18 also doesn't work)

my system is a debian sarge server.

any ideas?
thx&greets,
soomon
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

soomon wrote: but where's the problem?

Code: Select all

The file '' given to option --with-tclinc is not valid.
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
s
soomon
Voice
Posts: 6
Joined: Sat Mar 04, 2006 10:23 am

Post by soomon »

Code: Select all

configure: warning:

  The file '/usr/local/include/tcl8.4/tcl.h' given to option --with-tclinc is not valid.

  configure will now attempt to autodetect both the Tcl library and header.

checking for Tcl library... using /lib
checking for Tcl header... using /
checking whether the Tcl system has changed... yes
checking for Tcl version...
checking for Tcl patch level...
configure: error:

  Your Tcl version is much too old for Eggdrop to use
i also tried reinstalling tcl 8.4.12 using apt, it did it but still the same error...

recompiling the source from tcl.tk also doen't suceed:

xyz:/tmp/tcl8.4.12/unix# make
tclAppInit.o(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0): first defined here
collect2: ld returned 1 exit status
make: *** [tclsh] error 1
(./configure worked!)
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

are you able to compile anything else?
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
d
dtgorm
Voice
Posts: 4
Joined: Wed Jan 24, 2007 12:07 pm

Post by dtgorm »

Ok, lets see if anyone can figure this out...

About a week ago, i installed Tcl/Tk Software's Tcl8.5 .. well then i removed the files...

today, I installed ActiveTcl8.4 to /opt/..... and exported the path.. tested i could use tclsh and was able to get a prompt.

go to compile eggy with and without the --with-tcl='path-to-tcl8.4' and when I go to make... i get :

Code: Select all

./eggdrop: error while loading shared libraries: libtcl8.5.so: cannot open shared object file: No such file or directory
make: *** [modules] Error 127
I have done ldconfig -v and there is no reference to tcl8.5 at all. So why in the world am i getting an error about libtcl8.5.so? Is it hard coded to use a non-stable tcl library?

Any help would be appreciated.

I notice at the beginning of make, where it starts to compile, the path to tcl is listed as -L/usr/local/lib -ltcl8.5

Code: Select all

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.5 -lm -ldl -ldns -lnsl  md5/md5c.o compat/*.o `cat mod/mod.xlibs`
touch ../eggdrop
Post Reply