<?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/15299" />

	<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>2008-02-26T13:53:22-04:00</updated>

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

		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2008-02-26T13:53:22-04:00</updated>

		<published>2008-02-26T13:53:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81181#p81181</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81181#p81181"/>
		<title type="html"><![CDATA[Error 127]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81181#p81181"><![CDATA[
From the previous two comments you'd think it was producing a 100mb file, which it clearly does not.  And if you want to compare advantages to disadvantages, you won't have to worry about security issues such as a comprimised shared module by using a static link.  You also will be able to use the default botchk script with cron without any code modification, as you won't have to specify the LD_LIBRARY_PATH environment variable prior to every launch of eggdrop. Also more about the size, if you need to compile Tcl locally anyway, you are not losing any extra space, since that space would be occupied by the shared libraries as well, lol.  "Just FYI".<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Tue Feb 26, 2008 1:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2008-02-26T02:29:40-04:00</updated>

		<published>2008-02-26T02:29:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81167#p81167</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81167#p81167"/>
		<title type="html"><![CDATA[Error 127]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81167#p81167"><![CDATA[
Compiling statically linked binaries makes it include the lib in the binary.. Makes it much larger. I'd us the LD_LIBRARY_PATH var and compile it dynamically. Just FYI.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Tue Feb 26, 2008 2:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-02-25T23:48:46-04:00</updated>

		<published>2008-02-25T23:48:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81164#p81164</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81164#p81164"/>
		<title type="html"><![CDATA[Error 127]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81164#p81164"><![CDATA[
If you did a local install, you'll have to set LD_LIBRARY_PATH environment variable to point to the location of your tcl-libraries whenever starting your eggie - should you link tcl dynamically. Of course, linking statically is always an option if you can live with the larger binaries.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon Feb 25, 2008 11:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[coldair]]></name></author>
		<updated>2008-02-25T19:48:51-04:00</updated>

		<published>2008-02-25T19:48:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81160#p81160</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81160#p81160"/>
		<title type="html"><![CDATA[Error 127]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81160#p81160"><![CDATA[
<blockquote class="uncited"><div>Ok... You're wrong.</div></blockquote>You've right <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>Static build solved a problem. probably i've missed something during my tries. Sorry for wasting your time.<br>Thanks for your help.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9744">coldair</a> — Mon Feb 25, 2008 7:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2008-02-25T19:37:41-04:00</updated>

		<published>2008-02-25T19:37:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81159#p81159</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81159#p81159"/>
		<title type="html"><![CDATA[Error 127]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81159#p81159"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>coldair: then either contact the admin to install tcl properly (ldconfig), or compile Tcl locally under your user account, making sure to configure it for static (disable-shared) build, and then rebuild your eggdrop as well, with configure pointing to where your Tcl library and header files reside, also configuring it to be a static build.</div></blockquote>Heh. As i've told already, i did exactly what u say. We have no tcl globally installed on the server, so I've made locally.<br>eggdrop still return with error 127 (look at strace output).<br><br>Fix me if i'm wrong, but enable-shared build of tcl or eggdrop have nothing to do with a problem i'm talking about.</div></blockquote>Ok... You're wrong.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Mon Feb 25, 2008 7:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[coldair]]></name></author>
		<updated>2008-02-25T19:36:23-04:00</updated>

		<published>2008-02-25T19:36:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81158#p81158</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81158#p81158"/>
		<title type="html"><![CDATA[Error 127]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81158#p81158"><![CDATA[
<blockquote class="uncited"><div>coldair: then either contact the admin to install tcl properly (ldconfig), or compile Tcl locally under your user account, making sure to configure it for static (disable-shared) build, and then rebuild your eggdrop as well, with configure pointing to where your Tcl library and header files reside, also configuring it to be a static build.</div></blockquote>Heh. As i've told already, i did exactly what u say. We have no tcl globally installed on the server, so I've made locally.<br>eggdrop still return with error 127 (look at strace output).<br><br>Fix me if i'm wrong, but enable-shared build of tcl or eggdrop have nothing to do with a problem i'm talking about.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9744">coldair</a> — Mon Feb 25, 2008 7:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2008-02-25T19:28:56-04:00</updated>

		<published>2008-02-25T19:28:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81157#p81157</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81157#p81157"/>
		<title type="html"><![CDATA[Error 127]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81157#p81157"><![CDATA[
coldair: then either contact the admin to install tcl properly (ldconfig), or compile Tcl locally under your user account, making sure to configure it for static (disable-shared) build, and then rebuild your eggdrop as well, with configure pointing to where your Tcl library and header files reside, also configuring it to be a static build.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Mon Feb 25, 2008 7:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[coldair]]></name></author>
		<updated>2008-02-25T18:20:17-04:00</updated>

		<published>2008-02-25T18:20:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81155#p81155</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81155#p81155"/>
		<title type="html"><![CDATA[Error 127]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81155#p81155"><![CDATA[
<blockquote class="uncited"><div>Make sure there's a line reading /local/lib/tcl8.5 within your /etc/ld.so.conf file, and run ldconfig to update the database of loadable modules (must be run with root privs).</div></blockquote>Great!<br>If I'll have root privs on that machine, there will be no problem. <br>Spent a lot of time trying to understand why linker/compiler ignores -I and -L params and --with-tcllib, --with-tclinc in configure.<br>strace ./eggdrop -v show us, that even if -I .... and -L.. was used correctly in compiling, eggdrop binary ignores that and wont search library in the defined path.<br><br>"<br>Linking eggdrop (standard build).<br><br>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/home/clients/websites/w_arsigr/opt/tcl/current/lib -ltcl8.5 -lm -ldl -lnsl  md5/md5c.o compat/*.o `cat mod/mod.xlibs`<br>touch ../eggdrop<br><br>Successful compile: eggdrop<br>"<br><br>... but still 127:<br><br>"<br>access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)<br>open("/etc/ld.so.cache", O_RDONLY)      = 3<br>fstat64(3, {st_mode=S_IFREG|0644, st_size=13970, ...}) = 0<br>old_mmap(NULL, 13970, PROT_READ, MAP_PRIVATE, 3, 0) = 0x127000<br>close(3)                                = 0<br>open("/lib/tls/sse2/libtcl8.5.so", O_RDONLY) = -1 ENOENT (No such file or directory)<br>stat64("/lib/tls/sse2", 0xbfffec64)     = -1 ENOENT (No such file or directory)<br>open("/lib/tls/libtcl8.5.so", O_RDONLY) = -1 ENOENT (No such file or directory)<br>stat64("/lib/tls", 0xbfffec64)          = -1 ENOENT (No such file or directory)<br>open("/lib/sse2/libtcl8.5.so", O_RDONLY) = -1 ENOENT (No such file or directory)<br>stat64("/lib/sse2", 0xbfffec64)         = -1 ENOENT (No such file or directory)<br>open("/lib/libtcl8.5.so", O_RDONLY)     = -1 ENOENT (No such file or directory)<br>stat64("/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0<br>open("/usr/lib/tls/sse2/libtcl8.5.so", O_RDONLY) = -1 ENOENT (No such file or directory)<br>stat64("/usr/lib/tls/sse2", 0xbfffec64) = -1 ENOENT (No such file or directory)<br>open("/usr/lib/tls/libtcl8.5.so", O_RDONLY) = -1 ENOENT (No such file or directory)<br>stat64("/usr/lib/tls", 0xbfffec64)      = -1 ENOENT (No such file or directory)<br>open("/usr/lib/sse2/libtcl8.5.so", O_RDONLY) = -1 ENOENT (No such file or directory)<br>stat64("/usr/lib/sse2", 0xbfffec64)     = -1 ENOENT (No such file or directory)<br>open("/usr/lib/libtcl8.5.so", O_RDONLY) = -1 ENOENT (No such file or directory)<br>stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=8192, ...}) = 0<br>writev(2, [{"./eggdrop", 9}, {": ", 2}, {"error while loading shared libra"..., 36}, {": ", 2}, {"libtcl8.5.so", 12}, {": ", 2}, {"cannot open shared object file", 30}, {": ", 2}, {"No such file or directory", 25}, {"\n", 1}], 10./eggdrop: error while loading shared libraries: libtcl8.5.so: cannot open shared object file: No such file or directory<br>) = 121<br>exit_group(127)                         = ?<br>Process 22023 detached<br>"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9744">coldair</a> — Mon Feb 25, 2008 6:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[StarLion]]></name></author>
		<updated>2008-02-14T15:01:17-04:00</updated>

		<published>2008-02-14T15:01:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80860#p80860</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80860#p80860"/>
		<title type="html"><![CDATA[Error 127]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80860#p80860"><![CDATA[
I had this issue also... but found a resolution;<br><br>I assume most people have done the default install of TCL.<br>Copy your libtcl8.5.so file from /usr/local/lib/ to /lib/ <br>Run ldconfig (mine was /sbin/ldconfig)<br>Retry the configure/make config/make process. Eggdrop should find the file.<br><br>(if this doesnt work for you, notice where your OS is pulling the other library files from when you do ldd eggdrop, and put the file there instead)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7134">StarLion</a> — Thu Feb 14, 2008 3:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2008-01-26T20:52:46-04:00</updated>

		<published>2008-01-26T20:52:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80376#p80376</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80376#p80376"/>
		<title type="html"><![CDATA[Error 127]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80376#p80376"><![CDATA[
solution courtesy of johoho:<br><br>'./configure' is looking in the wrong place for Tcl; it looks like it compiled with one version of Tcl and tries to load another. Maybe your sysadmin upgraded Tcl and didn't tell you. In that case, you should just need to recompile your bot.<br><br>Or maybe when upgrading he didn't clean the old version of Tcl, and './configure' is looking for the files in the wrong places, or trying to use different versions of tcl.h and libtcl*. Smack your admin and have him install Tcl properly <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"> Or try to:<br><br>./configure --with-tcllib=&lt;path-to-tcl-lib&gt; --with-tclinc=&lt;path-to-tcl-inc&gt;<br><br>Tell configure where to look for the Tcl files.<br><br>Try looking for libtcl by:<br>ls /usr/lib/libtcl*<br>ls /usr/local/lib/libtcl*<br><br>Try looking for tcl.h by:<br>ls /usr/include/*/tcl.h<br>ls /usr/local/include/*/tcl.h<br><br>If everything else fails, try to install Tcl to your home dir <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Sat Jan 26, 2008 8:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-01-26T20:47:37-04:00</updated>

		<published>2008-01-26T20:47:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80375#p80375</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80375#p80375"/>
		<title type="html"><![CDATA[Error 127]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80375#p80375"><![CDATA[
Seems your /etc/ld.so.conf needs to be set up properly and/or you need to run ldconfig.<br><br>Make sure there's a line reading /local/lib/tcl8.5 within your /etc/ld.so.conf file, and run ldconfig to update the database of loadable modules (must be run with root privs).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sat Jan 26, 2008 8:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[kris0089]]></name></author>
		<updated>2008-01-26T18:52:04-04:00</updated>

		<published>2008-01-26T18:52:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80370#p80370</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80370#p80370"/>
		<title type="html"><![CDATA[Error 127]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80370#p80370"><![CDATA[
Hello, im installing eggdrop (Current version), and on installation i have recieved a error, a tad annoying as i have installed eggdrops before.<br><br>My Os is: Knoppix v5.1.17, HDD installation (So basicly debian)<br><br>my error: <br><blockquote class="uncited"><div><br>All modules compiled.<br>make[1]: Leaving directory `/home/NoMansLand/eggdrop/eggdrop1.6.18/eggdrop1.6.18/src/mod'<br><br>Test run of ./eggdrop -v:<br>./eggdrop: error while loading shared libraries: libtcl8.5.so: cannot open shared object file: No such file or directory<br>make: *** [modules] Error 127</div></blockquote>TCL is installed at /local/lib/tcl8 and local/lib/tcl8.5<br><br>Thank you<br><br>kris0089<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9664">kris0089</a> — Sat Jan 26, 2008 6:52 pm</p><hr />
]]></content>
	</entry>
	</feed>
