[Gmsh] gfortran shared library error

Umut Tabak u.tabak at tudelft.nl
Fri Oct 5 09:05:54 CEST 2012


On 10/05/2012 08:53 AM, Umut Tabak wrote:
> Dear all,
>
> I have been getting
>
> ./gmsh: error while loading shared libraries: libgfortran.so.3: wrong 
> ELF class: ELFCLASS64
Hi,

Just as a follow up,

here is what I get from 'ldd ./gmsh'

     linux-gate.so.1 =>  (0xf7755000)
     libz.so.1 => /usr/lib32/libz.so.1 (0xf7725000)
     libGLU.so.1 => /usr/lib32/libGLU.so.1 (0xf76b5000)
     libGL.so.1 => /usr/lib32/libGL.so.1 (0xf7650000)
     libXext.so.6 => /usr/lib32/libXext.so.6 (0xf7641000)
     libXinerama.so.1 => /usr/lib32/libXinerama.so.1 (0xf763e000)
     libpthread.so.0 => /lib32/libpthread.so.0 (0xf7624000)
     libdl.so.2 => /lib32/libdl.so.2 (0xf7620000)
     libX11.so.6 => /usr/lib32/libX11.so.6 (0xf7503000)
     libgmp.so.3 => /usr/lib32/libgmp.so.3 (0xf74b9000)
     libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf749c000)
     libgfortran.so.3 => not found
     libm.so.6 => /lib32/libm.so.6 (0xf7475000)
     libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf7389000)
     libSM.so.6 => /usr/lib32/libSM.so.6 (0xf7381000)
     libICE.so.6 => /usr/lib32/libICE.so.6 (0xf736a000)
     libc.so.6 => /lib32/libc.so.6 (0xf720d000)
     libXxf86vm.so.1 => /usr/lib32/libXxf86vm.so.1 (0xf7207000)
     libXdamage.so.1 => /usr/lib32/libXdamage.so.1 (0xf7204000)
     libXfixes.so.3 => /usr/lib32/libXfixes.so.3 (0xf71ff000)
     libdrm.so.2 => /usr/lib32/libdrm.so.2 (0xf71f5000)
     /lib/ld-linux.so.2 (0xf7756000)
     libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf71dc000)
     libuuid.so.1 => /lib32/libuuid.so.1 (0xf71d7000)
     librt.so.1 => /lib32/librt.so.1 (0xf71ce000)
     libXau.so.6 => /usr/lib32/libXau.so.6 (0xf71cb000)
     libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf71c6000)

and moreover this is a problem starting from version 2.6.0, with gmsh 
2.5.0 I do not experience the same problems, so what has changed from 
gmsh 2.5 to 2.6 from the point of view of dynamic linking to Fortran 
runtime libraries? I guess if I can answer this question I can solve the 
issue.

Best,
Umut