Re: Compiler problem with gfortran

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

 



Hi Dave,

> On 24 Apr 2022, at 19:01, Jonathan Wakely <jwakely.gcc@xxxxxxxxx> wrote:
> On Sun, 24 Apr 2022, 18:34 C. David Whiteman, <davidwhiteman@xxxxxxx> wrote:
> I got on the Apple Developer website and downloaded 
> 
> Command Line Tools for Xcode 13.3

^ When this is installed, it provides the SDK that has the library,

> Additional Tools for Xcode 13.3

^ Not actually needed (but also harmless).
> 
> But I am still getting the following error when coming skippy.f
> 
> ~/Desktop 526 $ gfortran skippy.f
> ld: library not found for -lSystem
> collect2: error: ld returned 1 exit status
> 
> I guess the ld: suggests that the loader has not found a needed library. Not sure where that library comes from, where it would be in the directory structure, etc.

When the command line tools are installed, it would be found in an SDK installed as /LIbrary/Developer/CommandLineTools/SDKs.

Please check with the Homebrew folks, and double-check that you have everything installed as expected.

I am not aware of any general problem with the system library.

thanks,
Iain





[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