Re: error while loading shared libraries: libgfortran.so.3: wrong ELF class: ELFCLASS32

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

 



> Now I linked it using LDFLG = --static-libgfortran  in compile option
> file of application. And now the executable gives the following error
> instead of previous.
>
> [root@pmd03 bin]# ./int2lm_seq_v1.18
> ./int2lm_seq_v1.18: error while loading shared libraries:
> libquadmath.so.0: wrong ELF class: ELFCLASS32
> [root@pmd03 bin]#
>
> On Thu, Jun 21, 2012 at 10:22 PM, Jonathan Wakely <jwakely.gcc@xxxxxxxxx> wrote:
>> On 21 June 2012 10:18, Syed Ahsan Ali Bokhari wrote:
>>> Yes I have built outside the source directory in objdir,
>>
>> Then you don't need to delete the srcdir.
>>
>>> I am trying
>>> to build it again because the application which is using gfortran is
>>> not working after the previous build.
>>
>> The error you showed in an earlier mail is because you didn't link the
>> application properly, not because of a problem with the GCC build.
>>
>> Instead of building GCC again why not just link the application properly?
>
>
>
> --
>  Engr. Syed Ahsan Ali Bokhari
>  Electronic Engineer (EE)
>  Research & Development Division
>  Pakistan Meteorological Department H-8/2, Islamabad.
>  Phone # off +92518358714
>  Cell # +923155145014
>  www.pmd.gov.pk



-- 
 Engr. Syed Ahsan Ali Bokhari
 Electronic Engineer (EE)
 Research & Development Division
 Pakistan Meteorological Department H-8/2, Islamabad.
 Phone # off +92518358714
 Cell # +923155145014
 www.pmd.gov.pk



[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