<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/15042" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2007-11-28T22:11:12-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/15042</id>

		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2007-11-28T22:11:12-04:00</updated>

		<published>2007-11-28T22:11:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78770#p78770</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78770#p78770"/>
		<title type="html"><![CDATA[[SOLVED] Eggdrop only connects with debug flag]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78770#p78770"><![CDATA[
Ah you are right, it's been a while since I ran configure, coulda sworn there was an --enable-threads option. I stand corrected <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Wed Nov 28, 2007 10:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-11-28T20:04:31-04:00</updated>

		<published>2007-11-28T20:04:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78767#p78767</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78767#p78767"/>
		<title type="html"><![CDATA[[SOLVED] Eggdrop only connects with debug flag]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78767#p78767"><![CDATA[
Eggdrop has no speciffic toggle or setting to enable support for threads; the configure-script tries to locate the libtcl.so file, and tests wether it comes with the function "TclpFinalizeThreadData" - which should only be present in threaded libraries.<br><br>If the tcllibrary is considdered threaded, the HAVE_TCL_THREADS macro is defined in config.h, which results in some gluecode being included in bg.c (tries to place bot in background by using fork or other tricks), and informative messages added to chanprog.c and main.c...<br><br>There is one option to prevent the detection of threaded tcl, --disable-tcl-threads, however this would only be useful when a library is falsely detected as threaded. Using this option with a threaded library will cause your bot to break as described in the beginning of this topic.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Wed Nov 28, 2007 8:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2007-11-28T19:20:03-04:00</updated>

		<published>2007-11-28T19:20:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78766#p78766</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78766#p78766"/>
		<title type="html"><![CDATA[[SOLVED] Eggdrop only connects with debug flag]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78766#p78766"><![CDATA[
Anyone able to conduct a bit of an experiment, using the fedora package tcl lib with threads enabled, if you enable threads in eggdrop's configure, does that then work?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Wed Nov 28, 2007 7:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-11-28T06:45:26-04:00</updated>

		<published>2007-11-28T06:45:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78745#p78745</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78745#p78745"/>
		<title type="html"><![CDATA[[SOLVED] Eggdrop only connects with debug flag]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78745#p78745"><![CDATA[
@TwIZTeD:<br>Textbook example! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br><br>@rosc:<br>All issues I've encountered has been on recent Fedora, Suse, etc using dist-provided packages for tcl, where they've suddenly decided to make their tcl-libraries threaded. Sofar, pinning this one down has been very difficult, as most users have been content in compiling the library manually and shown no further interrest in providing any information to figure this one out.<br><br>Sofar, the only conclusions I've come to is that there is something strange with the builds in Fedora 4-6, Suse, etc; or the user installed multiple libraries, causing a very confused configure-script.<br><br>The information gathered in this thread covers and exceeds any and all info I've gathered from users sofar..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Wed Nov 28, 2007 6:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TwIZTeD]]></name></author>
		<updated>2007-11-28T01:12:06-04:00</updated>

		<published>2007-11-28T01:12:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78741#p78741</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78741#p78741"/>
		<title type="html"><![CDATA[[SOLVED] Eggdrop only connects with debug flag]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78741#p78741"><![CDATA[
Problem solved... Thank yall so much for the help... Steps taken:<br><br>Ran <div class="codebox"><p>Code: </p><pre><code>rpm -e tcl-8.4.12-4</code></pre></div>Recompiled/installed TCL<br><br>Added <div class="codebox"><p>Code: </p><pre><code>/usr/local/lib</code></pre></div> to /etc/ld.so.conf file<br><br>Then, as root, ran the ldconfig program (technically had to use /sbin/ldconfig)<br><br>Removed the /home/user/eggdrop directory<br><br>Then reran, ./configure, make config, make, &amp; make install on the eggdrop<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9500">TwIZTeD</a> — Wed Nov 28, 2007 1:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2007-11-27T22:03:47-04:00</updated>

		<published>2007-11-27T22:03:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78734#p78734</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78734#p78734"/>
		<title type="html"><![CDATA[[SOLVED] Eggdrop only connects with debug flag]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78734#p78734"><![CDATA[
I don't understand why people are having probs with threaded versions, unless perhaps its when you do have threaded tcl libs and compiled eggdrop without thread support?  I compiled both the libs and eggdrop with threads enabled, works fine.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Tue Nov 27, 2007 10:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-11-27T20:08:08-04:00</updated>

		<published>2007-11-27T20:08:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78729#p78729</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78729#p78729"/>
		<title type="html"><![CDATA[[SOLVED] Eggdrop only connects with debug flag]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78729#p78729"><![CDATA[
Confirmed then, your eggdrop is indeed linked to the library-files provided by the rpm, and not the ones you installed yourself. Since FC4, the rpm's hold thread-enabled tcllibraries, requiring special code to put your eggdrop in "background". Since the configure-script found, and used the other set of libraries (the ones you installed yourself), the neccesary code was not included into the eggdrop.<br><br>In this case, your two best options are:<br>1, uninstall the rpm-version of tcl on your system, and recompile your eggdrop.<br>2, remove the tcl-libraries you manually installed, and recompile your eggdrop.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Tue Nov 27, 2007 8:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TwIZTeD]]></name></author>
		<updated>2007-11-27T19:48:38-04:00</updated>

		<published>2007-11-27T19:48:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78728#p78728</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78728#p78728"/>
		<title type="html"><![CDATA[[SOLVED] Eggdrop only connects with debug flag]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78728#p78728"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>[matt@localhost eggdrop1.6.18]$ ldd eggdrop        linux-gate.so.1 =&gt;  (0x005e2000)        libtcl8.4.so =&gt; /usr/lib/libtcl8.4.so (0x475c6000)        libm.so.6 =&gt; /lib/libm.so.6 (0x4c96e000)        libdl.so.2 =&gt; /lib/libdl.so.2 (0x4c995000)        libnsl.so.1 =&gt; /lib/libnsl.so.1 (0x4d1a7000)        libc.so.6 =&gt; /lib/libc.so.6 (0x4c839000)        libpthread.so.0 =&gt; /lib/libpthread.so.0 (0x4cd05000)        /lib/ld-linux.so.2 (0x4c81c000)</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9500">TwIZTeD</a> — Tue Nov 27, 2007 7:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-11-27T19:45:46-04:00</updated>

		<published>2007-11-27T19:45:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78727#p78727</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78727#p78727"/>
		<title type="html"><![CDATA[[SOLVED] Eggdrop only connects with debug flag]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78727#p78727"><![CDATA[
Yup, which means you've got two different versions of tcl on your system.<br>The configure-script found the one you compiled and installed, yet I'm quite confident that the compiler and the runtime loader uses the one from the rpm.<br><br>Could you also run this?<div class="codebox"><p>Code: </p><pre><code>ldd eggdrop</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Tue Nov 27, 2007 7:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TwIZTeD]]></name></author>
		<updated>2007-11-27T19:41:47-04:00</updated>

		<published>2007-11-27T19:41:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78726#p78726</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78726#p78726"/>
		<title type="html"><![CDATA[[SOLVED] Eggdrop only connects with debug flag]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78726#p78726"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>[matt@localhost eggdrop1.6.18]$ rpm -qa | grep tcltcl-8.4.12-4[matt@localhost eggdrop1.6.18]$ rpm -qf /usr/local/lib/libtcl8.4.sofile /usr/local/lib/libtcl8.4.so is not owned by any package</code></pre></div>Looks like a package manager did slip something in...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9500">TwIZTeD</a> — Tue Nov 27, 2007 7:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-11-27T18:54:01-04:00</updated>

		<published>2007-11-27T18:54:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78723#p78723</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78723#p78723"/>
		<title type="html"><![CDATA[[SOLVED] Eggdrop only connects with debug flag]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78723#p78723"><![CDATA[
'k, it seems ./configure did detect a system-wide tcllib installation (at /urs/local/ ) that was not threaded (lacking TclpFinalizeThreadData). This would be coherent with a manual system-installation of tcl.<br><br>Could you run this:<div class="codebox"><p>Code: </p><pre><code>rpm -qa | grep tcl</code></pre></div>Also run this one:<div class="codebox"><p>Code: </p><pre><code>rpm -qf /usr/local/lib/libtcl8.4.so</code></pre></div>It'll probably take a couple of minutes or so, but should list any and all rpm-packages containing tcl in it's name. Just to make sure yum or such did'nt sneak tcl in there...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Tue Nov 27, 2007 6:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TwIZTeD]]></name></author>
		<updated>2007-11-27T18:02:26-04:00</updated>

		<published>2007-11-27T18:02:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78722#p78722</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78722#p78722"/>
		<title type="html"><![CDATA[[SOLVED] Eggdrop only connects with debug flag]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78722#p78722"><![CDATA[
Ok then, yes I still have the buildtree.  I didn't specifically tell it to build with thread-support... so I'm going to guess no on that one.  I do not believe it was a system wide install as it's located in /home/matt/eggdrop after the make install is run.  How would you recommend I check on the TCL?<br><br>Pulled this from config.h<br><div class="codebox"><p>Code: </p><pre><code>/* Define for Tcl that has threads. *//* #undef HAVE_TCL_THREADS */</code></pre></div>And this from the log<br><div class="codebox"><p>Code: </p><pre><code>configure:9648: checking for Tcl libraryconfigure:9660: result: found /usr/local/lib/libtcl8.4.soconfigure:9683: checking for Tcl headerconfigure:9694: result: found /usr/local/include/tcl.hconfigure:9730: checking whether the Tcl system has changedconfigure:9755: result: yesconfigure:9773: checking for Tcl versionconfigure:9785: result: 8.4configure:9797: checking for Tcl patch levelconfigure:9809: result: 8.4.16configure:9871: checking for Tcl_Free in -ltcl8.4configure:9901: gcc -pipe -o conftest -g -O2 -Wall   conftest.c -ltcl8.4 -L/usr/local/lib -lm -lpthread -ldl -lnsl  &gt;&amp;5configure:9907: $? = 0configure:9911: test -z                         || test ! -s conftest.errconfigure:9914: $? = 0configure:9917: test -s conftestconfigure:9920: $? = 0configure:9933: result: yesconfigure:9966: checking for TclpFinalizeThreadData in -ltcl8.4configure:9996: gcc -pipe -o conftest -g -O2 -Wall   conftest.c -ltcl8.4 -L/usr/local/lib -lm -lpthread -ldl -lnsl  &gt;&amp;5/tmp/ccQTRFIB.o: In function `main':/home/matt/eggdrop1.6.18/conftest.c:95: undefined reference to `TclpFinalizeThreadData'collect2: ld returned 1 exit statusconfigure:10002: $? = 1</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9500">TwIZTeD</a> — Tue Nov 27, 2007 6:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-11-27T17:58:24-04:00</updated>

		<published>2007-11-27T17:58:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78721#p78721</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78721#p78721"/>
		<title type="html"><![CDATA[[SOLVED] Eggdrop only connects with debug flag]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78721#p78721"><![CDATA[
Basically, just the files where you compiled your eggdrop (not where you installed it). Mainly interrested in the config.h and config.log files generated by ./configure.<br><br>Also, when you compiled tcl (not eggdrop), did you build it with or without thread-support? Did you install it systemwide? Made sure Fedora did'nt sneak anything related to tcl onto your system while you did'nt look?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Tue Nov 27, 2007 5:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TwIZTeD]]></name></author>
		<updated>2007-11-27T17:51:28-04:00</updated>

		<published>2007-11-27T17:51:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78720#p78720</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78720#p78720"/>
		<title type="html"><![CDATA[[SOLVED] Eggdrop only connects with debug flag]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78720#p78720"><![CDATA[
Not sure what you mean by buildtree... but I downloaded the source for the latest TCL and installed it that way.  Didn't use any rpm's or the like.  I'm using Fedora 5 btw.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9500">TwIZTeD</a> — Tue Nov 27, 2007 5:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-11-27T17:19:41-04:00</updated>

		<published>2007-11-27T17:19:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78717#p78717</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78717#p78717"/>
		<title type="html"><![CDATA[[SOLVED] Eggdrop only connects with debug flag]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78717#p78717"><![CDATA[
This would indicate that you've got some problems with threaded tcl-libraries.<br>Recently, as several linux-dists have switched to threaded tcllib-packages, there have been an issue where the "gluecode" to make your bot launch into background (with threaded tcl) either isn't implemented, or breaks for some other reason. One fix that has worked for others sofar, is to remove the deb/rpm/etc package, and install a non-threaded tcllibrary manually.<br><br>Do you still have the buildtree laying 'round?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Tue Nov 27, 2007 5:19 pm</p><hr />
]]></content>
	</entry>
	</feed>
