GNU bug report logs - #48668
configure: error: C compiler cannot create executables

Previous Next

Package: libtool;

Reported by: noloader <at> gmail.com

Date: Wed, 26 May 2021 10:30:02 UTC

Severity: normal

Full log


Message #8 received at 48668 <at> debbugs.gnu.org (full text, mbox):

From: Thomas Jahns <jahns <at> dkrz.de>
To: noloader <at> gmail.com
Cc: 48668 <at> debbugs.gnu.org
Subject: Re: bug#48668: configure: error: C compiler cannot create executables
Date: Wed, 26 May 2021 15:48:54 +0200
[Message part 1 (text/plain, inline)]
Hey Jeffrey,

did you try to run the command in question on the command line, i.e. what happens when you try 

/Library/Developer/CommandLineTools/usr/bin/clang \
  -fno-common -I/usr/local/include -DNDEBUG -L/usr/local/lib helloworld.c

with some simple source file like the attached one?

Since this is on Apple macOS: Did you complete the installation of the command-line tools? Unfortunately there's some version-specific dance you have to complete for Xcode command-line tools to properly work.

Regards, Thomas

> On May 26, 2021, at 12:29 , Jeffrey Walton <noloader <at> gmail.com> wrote:
> 
> I'm trying to build libtool-2.4.6 on an Apple M1. Configure dies at:
> 
> configure:3902: checking whether the C compiler works
> configure:3924: /Library/Developer/CommandLineTools/usr/bin/clang
> -fno-common -I/usr/local/include -DNDEBUG -L/usr/local/lib conftest.c
>> &5
> ld: library not found for -lSystem
> 
> I think that means it is time to update libtool (and its
> dependencies), and release a new tarball.
> 
> Thanks.
> <config.log.zip>_______________________________________________
> Bug-libtool mailing list
> Bug-libtool <at> gnu.org
> https://lists.gnu.org/mailman/listinfo/bug-libtool





[Message part 2 (text/html, inline)]
[helloworld.c (application/octet-stream, attachment)]
[Message part 4 (text/html, inline)]
[smime.p7s (application/pkcs7-signature, attachment)]

This bug report was last modified 4 years and 20 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.