x86_64, libgfortran: unrecognized file format (was: for Daniel)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 07 January 2008 00:38:45 Granville Sewell wrote:
> Without the -static switch (using gfortran), I get:
>
> /usr/local/gcc-4.2/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.2.3/../../../.
>./lib64/libgfortran.so: file not recognized: File format not recognized
> collect2: ld returned 1 exit status

You build gcc yourself? How did you configure it (gfortran -v)?
Something seems to be horribly messed up on your side?!

I'm CC-ing gcc-help, maybe someone there has encountered this before.


> There is a libgfortran.a file in the same lib directory, by the way.  I
> don't understand the difference between the *.a and *.so libraries.

 *.so - shared objects, used for dynamic linking, loaded at runtime
 *.a  - archives, linked into the binary statically

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux