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]

 



Yes I have built outside the source directory in objdir, I am trying
to build it again because the application which is using gfortran is
not working after the previous build. Every step is same I am trying
to build the same way. I am  trying to build 4.6.3 now, it has been
more than 1 hour but still its not completed.


On Thu, Jun 21, 2012 at 1:29 PM, Jonathan Wakely <jwakely.gcc@xxxxxxxxx> wrote:
> On 21 June 2012 08:21, Syed Ahsan Ali Bokhari wrote:
>> Dear Jonathan
>>
>> For the sake of building static libraries I tried to configure with
>> option --disable-shared.
>
> That's a waste of time, the default is to build both static and
> dynamic libs so you should have them already.
>
> Your problem is that you haven't given the correct path to the linker,
> why are you trying to build GCC again?
>
>> But that was not successful. And now even the
>> previous build is not working.
>
> Then you're not following the same steps.
>
>> I have cleaned the source directory
>> again
>
> That's not necessary if you build *outside* the source directory, as I
> keep suggesting.  If you never build in the source directory then it
> never gets altered and you only need to clean the *build* directory.
>
> If you haven't followed the advice and are building in the source
> directory then you may need to remove everything and start from
> scratch.



-- 
 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