<div><div>&nbsp;&nbsp; I tried svn (reported version 2128) but got some errors while compiling so I left that alone and used sword-1.5.10<br>&nbsp;&nbsp; After compile I ran ./imp2ld from within utilities subdirectory and produced both .dat and .idx files OK. Also tried versions 
1.5.8 &amp; 1.5.9 and both worked fine as well. <br>&nbsp;&nbsp; I then installed 1.5.10 and tried again... got the loop.<br>&nbsp;&nbsp; Rest of comments apply to version 1.5.10 <br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
As two people have the same problem I think it&#39;s time to use linux tools to<br>analyse this.&nbsp;&nbsp;Can you:<br><br>1. run ldd on your binary (ldd /.../bin/imp2ld) and post the output.</blockquote><div><br>alonso:~/oneyearread$ ldd /usr/bin/imp2ld
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://libsword-1.5.10.so">libsword-1.5.10.so</a> =&gt; /usr/lib/../lib/libsword-<a href="http://1.5.10.so">1.5.10.so</a> (0x00002ba9bfc75000)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libcurl.so.4 =&gt; /usr/lib/../lib/libcurl.so.4 (0x00002ba9bffa2000)
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libstdc++.so.6 =&gt; /usr/lib/../lib/libstdc++.so.6 (0x00002ba9c01e6000)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libz.so.1 =&gt; /lib/libz.so.1 (0x00002ba9c0503000)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libm.so.6 =&gt; /usr/lib/../lib/libm.so.6 (0x00002ba9c071a000)
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libgcc_s.so.1 =&gt; /usr/lib/../lib/libgcc_s.so.1 (0x00002ba9c0999000)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libc.so.6 =&gt; /usr/lib/../lib/libc.so.6 (0x00002ba9c0ba6000)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libssh2.so.1 =&gt; /usr/lib/../lib/libssh2.so.1 (0x00002ba9c0ee7000)
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libldap-2.3.so.0 =&gt; /usr/lib/../lib/libldap-2.3.so.0 (0x00002ba9c1109000)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libssl.so.0.9.8 =&gt; /usr/lib/../lib/libssl.so.0.9.8 (0x00002ba9c1337000)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libcrypto.so.0.9.8 =&gt; /usr/lib/../lib/libcrypto.so.0.9.8 (0x00002ba9c1580000)
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libdl.so.2 =&gt; /usr/lib/../lib/libdl.so.2 (0x00002ba9c18f6000)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /lib/ld-linux-x86-64.so.2 (0x00002ba9bfa59000)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; liblber-2.3.so.0 =&gt; /usr/lib/../lib/liblber-2.3.so.0 (0x00002ba9c1afb000)
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libresolv.so.2 =&gt; /usr/lib/../lib/libresolv.so.2 (0x00002ba9c1d06000)<br>alonso:~/oneyearread$&nbsp; <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2. run the program with strace to reproduce the problem (strace -o<br>/tmp/imp2ld.strace imp2ld [arg1] [...]).&nbsp;&nbsp;Wait few seconds until you think<br>it&#39;s looping, you can stop it with Ctrl-C.&nbsp;&nbsp;Don&#39;t post the output file
<br>(/tmp/imp2ld.strace) in the list as it will probably huge, but use an free<br>online service (like <a href="http://pastebin.com/">http://pastebin.com/</a> or if you can read french<br><a href="http://dl.free.fr/">http://dl.free.fr/
</a>).&nbsp;&nbsp;This file will display any system call and answer,<br>allowing us to see I/O errors and things like that.</blockquote><div><br>&nbsp;&nbsp; Uhm... OK, I think I owe you an apologize. <br>&nbsp;&nbsp; When I used strace as suggested I got a clean result as expected. Both .dat &amp; .idx files were produced well.
<br>&nbsp;&nbsp; The module Karl handed me use a sed instruction first and then calls imp2ld. The loop goes on when I run this module. If I run imp2ld direct I get no loop at all.<br>&nbsp;&nbsp;&nbsp; I&#39;ll check if the reasons for which I needed this module still apply and I will report back whatever I find.
<br>&nbsp;&nbsp;&nbsp; Thanks for your helpful and timely support.<br><br>Alonso<br></div><br></div><br>