<html><head></head><body><div style="color:#000; background-color:#fff; font-family:lucida console, sans-serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1472666771804_17690"><span id="yui_3_16_0_ym19_1_1472666771804_17710">Unfortunately, I blew away the firefox download, so it is not trivial to repeat the experiment.</span></div><div id="yui_3_16_0_ym19_1_1472666771804_17742"><br><span id="yui_3_16_0_ym19_1_1472666771804_17710"></span></div><div id="yui_3_16_0_ym19_1_1472666771804_17844"><span id="yui_3_16_0_ym19_1_1472666771804_17710">However, I had a similar problem with a different named gmsh.  That executable ran fine when I copied it to /usr/bin overwriting the "official" file.  <br></span></div><div id="yui_3_16_0_ym19_1_1472666771804_17885"><br><span id="yui_3_16_0_ym19_1_1472666771804_17710"></span></div><div id="yui_3_16_0_ym19_1_1472666771804_18121"><span id="yui_3_16_0_ym19_1_1472666771804_17710">I would guess the problem is the library or some other auxiliary file that it could not find.</span></div><div id="yui_3_16_0_ym19_1_1472666771804_18046"><br><span id="yui_3_16_0_ym19_1_1472666771804_17710"></span></div><div id="yui_3_16_0_ym19_1_1472666771804_18048"><span id="yui_3_16_0_ym19_1_1472666771804_17710">Here is the transcript:</span></div><div id="yui_3_16_0_ym19_1_1472666771804_18047"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1472666771804_18088">$$ . ./gmsh<br id="yui_3_16_0_ym19_1_1472666771804_18093">bash: .: ./gmsh: cannot execute binary file<br id="yui_3_16_0_ym19_1_1472666771804_18094"><br></div><div id="yui_3_16_0_ym19_1_1472666771804_18095"><br><span id="yui_3_16_0_ym19_1_1472666771804_17710"></span></div><div id="yui_3_16_0_ym19_1_1472666771804_18045" dir="ltr"><span id="yui_3_16_0_ym19_1_1472666771804_17710">$$ ldd ./gmsh<br id="yui_3_16_0_ym19_1_1472666771804_18000">    linux-vdso.so.1 (0x00007fffa7f38000)<br id="yui_3_16_0_ym19_1_1472666771804_18001">    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fe34a12a000)<br id="yui_3_16_0_ym19_1_1472666771804_18002">    libGLU.so.1 => /usr/lib/x86_64-linux-gnu/libGLU.so.1 (0x00007fe349eba000)<br id="yui_3_16_0_ym19_1_1472666771804_18003">    libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007fe349c49000)<br id="yui_3_16_0_ym19_1_1472666771804_18004">    libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007fe349a3f000)<br id="yui_3_16_0_ym19_1_1472666771804_18005">    libXcursor.so.1 => /usr/lib/x86_64-linux-gnu/libXcursor.so.1 (0x00007fe349833000)<br id="yui_3_16_0_ym19_1_1472666771804_18006">    libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007fe34962d000)<br id="yui_3_16_0_ym19_1_1472666771804_18007">    libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007fe34941b000)<br id="yui_3_16_0_ym19_1_1472666771804_18008">    libXft.so.2 => /usr/lib/x86_64-linux-gnu/libXft.so.2 (0x00007fe349204000)<br id="yui_3_16_0_ym19_1_1472666771804_18009">    libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007fe348fc6000)<br id="yui_3_16_0_ym19_1_1472666771804_18010">    libXinerama.so.1 => /usr/lib/x86_64-linux-gnu/libXinerama.so.1 (0x00007fe348dc3000)<br id="yui_3_16_0_ym19_1_1472666771804_18011">    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fe348ba5000)<br id="yui_3_16_0_ym19_1_1472666771804_18012">    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fe3489a1000)<br id="yui_3_16_0_ym19_1_1472666771804_18013">    libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007fe34865e000)<br id="yui_3_16_0_ym19_1_1472666771804_18014">    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fe348358000)<br id="yui_3_16_0_ym19_1_1472666771804_18015">    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fe347fdd000)<br id="yui_3_16_0_ym19_1_1472666771804_18016">    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fe347dc7000)<br id="yui_3_16_0_ym19_1_1472666771804_18017">    libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007fe347bbe000)<br id="yui_3_16_0_ym19_1_1472666771804_18018">    libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007fe3479a1000)<br id="yui_3_16_0_ym19_1_1472666771804_18019">    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fe347799000)<br id="yui_3_16_0_ym19_1_1472666771804_18020">    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe3473f7000)<br id="yui_3_16_0_ym19_1_1472666771804_18021">    libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007fe3471cd000)<br id="yui_3_16_0_ym19_1_1472666771804_18022">    libxcb-dri3.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 (0x00007fe346fca000)<br id="yui_3_16_0_ym19_1_1472666771804_18023">    libxcb-present.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-present.so.0 (0x00007fe346dc6000)<br id="yui_3_16_0_ym19_1_1472666771804_18024">    libxcb-randr.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-randr.so.0 (0x00007fe346bb8000)<br id="yui_3_16_0_ym19_1_1472666771804_18025">    libxcb-xfixes.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-xfixes.so.0 (0x00007fe3469b0000)<br id="yui_3_16_0_ym19_1_1472666771804_18026">    libxcb-render.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-render.so.0 (0x00007fe3467a5000)<br id="yui_3_16_0_ym19_1_1472666771804_18027">    libxcb-shape.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-shape.so.0 (0x00007fe3465a1000)<br id="yui_3_16_0_ym19_1_1472666771804_18028">    libxcb-sync.so.1 => /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1 (0x00007fe34639a000)<br id="yui_3_16_0_ym19_1_1472666771804_18029">    libxshmfence.so.1 => /usr/lib/x86_64-linux-gnu/libxshmfence.so.1 (0x00007fe346196000)<br id="yui_3_16_0_ym19_1_1472666771804_18030">    libglapi.so.0 => /usr/lib/x86_64-linux-gnu/libglapi.so.0 (0x00007fe345f68000)<br id="yui_3_16_0_ym19_1_1472666771804_18031">    libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007fe345d65000)<br id="yui_3_16_0_ym19_1_1472666771804_18032">    libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007fe345b62000)<br id="yui_3_16_0_ym19_1_1472666771804_18033">    libxcb-glx.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0 (0x00007fe345949000)<br id="yui_3_16_0_ym19_1_1472666771804_18034">    libxcb-dri2.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0 (0x00007fe345744000)<br id="yui_3_16_0_ym19_1_1472666771804_18035">    libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fe345521000)<br id="yui_3_16_0_ym19_1_1472666771804_18036">    libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007fe34531b000)<br id="yui_3_16_0_ym19_1_1472666771804_18037">    libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007fe34510c000)<br id="yui_3_16_0_ym19_1_1472666771804_18038">    libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007fe344e5c000)<br id="yui_3_16_0_ym19_1_1472666771804_18039">    /lib64/ld-linux-x86-64.so.2 (0x0000563953d6b000)<br id="yui_3_16_0_ym19_1_1472666771804_18040">    libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007fe344c57000)<br id="yui_3_16_0_ym19_1_1472666771804_18041">    libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fe344a52000)<br id="yui_3_16_0_ym19_1_1472666771804_18042">    libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fe34484c000)<br id="yui_3_16_0_ym19_1_1472666771804_18043">    libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007fe344625000)<br id="yui_3_16_0_ym19_1_1472666771804_18044"></span></div><div id="yui_3_16_0_ym19_1_1472666771804_17695" class="qtdSeparateBR"><br><br></div><div style="display: block;" id="yui_3_16_0_ym19_1_1472666771804_17699" class="yahoo_quoted">  <div id="yui_3_16_0_ym19_1_1472666771804_17698" style="font-family: lucida console, sans-serif; font-size: 13px;"> <div id="yui_3_16_0_ym19_1_1472666771804_17697" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div id="yui_3_16_0_ym19_1_1472666771804_17696" dir="ltr"> <font id="yui_3_16_0_ym19_1_1472666771804_17701" size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Rick Moen <rick@linuxmafia.com><br> <b><span style="font-weight: bold;">To:</span></b> conspire@linuxmafia.com <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, August 31, 2016 11:29 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [conspire] cannot execute binary file<br> </font> </div> <div id="yui_3_16_0_ym19_1_1472666771804_17703" class="y_msg_container"><br>Quoting Paul Zander (<a shape="rect" ymailto="mailto:paulz@ieee.org" href="mailto:paulz@ieee.org">paulz@ieee.org</a>):<br clear="none"><br clear="none">> But for some more complex stuff, this doesn't always work.  For example, <br clear="none">> I downloaded a Firefox tarball and unpacked it to some directory.   <br clear="none">> .  ./firefox<br clear="none">>  bash: .: ./firefox: cannot execute binary file<br clear="none"><br clear="none">Assuming ./firefox has the executable bit, you might have downloaded the wrong<br clear="none">CPU architecture, e.g., trying to run the IA32 version on an x86_64<br clear="none">distro that lacks 32-bit application support.<br clear="none"><br clear="none">Or, could be a missing library.  What's the output of 'ldd ./firefox'?<div class="yqt5381564386" id="yqtfd74995"><br clear="none"><br clear="none"><br clear="none"><br clear="none">_______________________________________________<br clear="none">conspire mailing list<br clear="none"><a shape="rect" ymailto="mailto:conspire@linuxmafia.com" href="mailto:conspire@linuxmafia.com">conspire@linuxmafia.com</a><br clear="none"><a shape="rect" href="http://linuxmafia.com/mailman/listinfo/conspire" target="_blank">http://linuxmafia.com/mailman/listinfo/conspire</a><br clear="none"></div><br><br></div> </div> </div>  </div></div></body></html>