On Thu, Jul 15, 2010 at 8:06 AM, Earnshaw, Paul <span dir="ltr"><<a href="mailto:paul.earnshaw@metoffice.gov.uk">paul.earnshaw@metoffice.gov.uk</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span>Arlindo,</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><a href="mailto:frpe@eld188" target="_blank">frpe@eld188</a>:> uname -a<br>Linux eld188
2.6.9-89.ELsmp #1 SMP Mon Apr 20 10:34:33 EDT 2009 i686 i686 i386
GNU/Linux<br><a href="mailto:frpe@eld188" target="_blank">frpe@eld188</a>:> gcc
--version<br>gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-11)<br>Copyright (C) 2006
Free Software Foundation, Inc.<br>This is free software; see the source for
copying conditions. There is NO<br>warranty; not even for MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE.</font><font color="#0000ff" size="2" face="Arial"><br><a href="mailto:frpe@eld188" target="_blank">frpe@eld188</a>:> ldd
--version<br>ldd (GNU libc) <span class="Apple-style-span" style="background-color: rgb(255, 255, 0);">2.3.4</span><br><br></font></div>
<div><font color="#0000ff" size="2" face="Arial"><span>I have
since run the executable on a different machine and I get a more obvious error
message associated with the information you wanted:</span></font></div>
<div><font color="#0000ff" size="2" face="Arial"><span></span></font> </div>
<div><font color="#0000ff" size="2" face="Arial"><span>/net/home/h01/gmdd/grads2/Contents/Linux/Versions/2.0.a8.oga.1/i686/grads:
error while loading shared libraries: requires <span class="Apple-style-span" style="background-color: rgb(255, 255, 0);">glibc 2.5</span> or later dynamic
linker</span></font></div>
<div><font color="#0000ff" size="2" face="Arial"></font> </div></div></blockquote><div><br></div><div>That is exactly it. You will get the same error if you try COLA's i686 build which was also uses glibc 2.5. Up to now I had been building the i686 version of the OpenGrADS Bundle on a machine with glibc 2.3.4 as yours. However, I hit a problem with 2.0.a8 version of gribmap using this version of glibc. In the end I had to build it on a newer machine with glibc 2.5. </div>
<div><br></div><div>For the record: for binary portability, more important than the particular version of gcc is the version of glibc. In this particular case, I rebuilt grads with gcc 4.1.2 and glibc 2.3.4 and I could not get gribmap to work. On Linux, you can find the glibc version with "ldd --version". In the future perhaps we should have the glibc version as part of the binary tarball filename (at least on Linux).</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>
<div><span><font color="#0000ff" size="2" face="Arial">I take
it this means with the current version of glibc I will not be able to run
2.0.a8.oga.1?</font></span></div><div class="im">
<div><span><font color="#0000ff" size="2" face="Arial"></font></span> </div></div></div></blockquote><div><br></div><div>Almost. I have a build of grads 2.0.a8 on i686 using glibc 2.3.4; it passes all of my tests (including extensions but not the large grib feature) except for gribmap. If can make it it available to you offline, but I'd rather not post it on <a href="http://sf.net">sf.net</a> because it is not 100% functional. If you do not need the new large file feature of gribmap you could mix & match and use the 2.0.a7.oga.3 version of gribmap and everything else from 2.0.a8. If interested, write to me at <a href="mailto:dasilva@opengrads.org">dasilva@opengrads.org</a> and I'll make this build available to you.</div>
<div><br></div><div> Arlindo</div><div><br></div><div><br></div><div> </div></div>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><br>