On Sunday 23 April 2006 22:52, Bernard Li wrote: > Okay so perhaps the binary (bittorrent-console, or python itself) should be > statically compiled? >
I didn't mean that, it might be difficult to build everything statically and it will waste space on the initrd. Your LD_LIBRARY_PATH is working and probably okay, but on a normal system I'd rather fix /etc/ld.so.{cache,conf}. Can't you simply run ldconfig when building the initrd or the boel_binaries tarball? A system that doesn't find dynamic libs in /lib is somehow screwed up. Regards, Erich > Cheers, > > Bernard > > ________________________________ > > From: Erich Focht [mailto:[EMAIL PROTECTED] > Sent: Sun 23/04/2006 07:50 > To: sisuite-devel@lists.sourceforge.net > Cc: Bernard Li > Subject: Re: [Sisuite-devel] BitTorrent transport > > > > Hi Bernard, > > I think this is actually a sign for /etc/ld.so.{conf,cache} not being setup > properly. If we use dynamic libraries maybe that should be fixed... > > Regards, > Erich > > On Sunday 23 April 2006 08:58, Bernard Li wrote: > > I tested the BitTorrent transport in trunk - it works after a bit of > > tweaking. > > > > I need to apply the following patch otherwise bittorrent-console will > > complain about not being able to find libdl.so.2: > > > > Index: initrd_source/skel/etc/init.d/functions > > =================================================================== > > --- initrd_source/skel/etc/init.d/functions (revision 3528) > > +++ initrd_source/skel/etc/init.d/functions (working copy) > > @@ -19,6 +19,7 @@ > > # Variables > > # > > PATH=/sbin:/bin:/usr/bin:/usr/sbin:/tmp > > +LD_LIBRARY_PATH=/lib > > SCRIPTS=scripts > > SCRIPTS_DIR=/scripts > > TORRENTS=torrents > > > > Andrea, if it looks ok to you, then I'll commit it. > > > > We need to modify si_installbtimage a bit, so that you can stop or restart > > the seeder. Right now if you run it with --quiet, there is no easy way to > > stop it (unless you kill the process manually). > > > > Reporting to si_monitor seems a bit off. si_monitortk reports that the > > node is "done" but in actual fact only file transfer has completed but it > > still needs to extract the image (which may take some time depending on > > what kind of hardware you have). Perhaps we need to add an intermediate > > state for si_monitor after all file transfers are completed but before the > > node is rebooted. > > > > I may have more feedback after I've done more testing with multiple nodes. > > > > Cheers, > > > > Bernard ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Sisuite-devel mailing list Sisuite-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sisuite-devel