From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by sourceware.org (Postfix) with ESMTPS id E10DB3858D33 for ; Sun, 24 Apr 2022 18:32:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E10DB3858D33 Received: by mail-wm1-x32d.google.com with SMTP id v64-20020a1cac43000000b0038cfd1b3a6dso11194812wme.5 for ; Sun, 24 Apr 2022 11:32:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=SDequZ4VAdaaFnTbjWk1PDdsuu9cWnPJT7ijedmeFew=; b=U+xoJh5ltjog0xiYRD3SH8JgPkE/ebR/x7FjAj4oRiJ3rR45JTPMw25UKwhBOYGi9Y aWQ3eN03ySOqcIjHRom622ktbFJFDbZhx3c9Cx4atTWSo9ExAPBhst0lQsMOoy2Hpw2v aIvMAF9KnpVuAA61wmPFnUYRxH9zG9oD0s4e8NdDuvvI+JeevRaIYFaGXnMe9x+lX8mZ Aiqfv6foaD/HwNGury+I3L1lKc8y7pK++kUbEhH8QpStpqz7kivD3anhOCrVbE1IT3iI Y94SoQiaoW1+7VHJ0V2vt9G8Y77p42pyyniyCv9ZDSTudjHsvvkCQtl9Bt6D6B3IJC8o 5jPA== X-Gm-Message-State: AOAM530OoQWtR3dSPISXG5vM4NgO+HdTH7nRViisXaaWI5Q1FU5Fh1uB uaGPSiBSQ+vThXUr85NxmIs= X-Google-Smtp-Source: ABdhPJzx6yjbMXqoW8XPvQLtQZKV5+7X43cjsbZwi58LlQbzQVwOVM9m41DLQjKg2ukkqA58uIJ5IA== X-Received: by 2002:a05:600c:3542:b0:393:ec0d:8a8b with SMTP id i2-20020a05600c354200b00393ec0d8a8bmr1421549wmq.189.1650825157463; Sun, 24 Apr 2022 11:32:37 -0700 (PDT) Received: from [192.168.1.214] (host81-138-1-83.in-addr.btopenworld.com. [81.138.1.83]) by smtp.googlemail.com with ESMTPSA id w5-20020a7bc105000000b0038eb9932dacsm6702607wmi.48.2022.04.24.11.32.36 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Apr 2022 11:32:36 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\)) Subject: Re: Compiler problem with gfortran From: Iain Sandoe In-Reply-To: Date: Sun, 24 Apr 2022 19:32:35 +0100 Cc: gcc-help Content-Transfer-Encoding: quoted-printable Message-Id: <412F3A81-720D-4863-9709-B9E8507C23EE@googlemail.com> References: <546813AC-1859-4DCC-A8CA-74F3CC0E4F83@mac.com> To: "C. David Whiteman" X-Mailer: Apple Mail (2.3445.104.21) X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Apr 2022 18:32:40 -0000 Hi Dave, > On 24 Apr 2022, at 19:01, Jonathan Wakely = wrote: > On Sun, 24 Apr 2022, 18:34 C. David Whiteman, = wrote: > I got on the Apple Developer website and downloaded=20 >=20 > 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). >=20 > But I am still getting the following error when coming skippy.f >=20 > ~/Desktop 526 $ gfortran skippy.f > ld: library not found for -lSystem > collect2: error: ld returned 1 exit status >=20 > 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