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

To reply to this bug, email your comments to 48668 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-libtool <at> gnu.org:
bug#48668; Package libtool. (Wed, 26 May 2021 10:30:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to noloader <at> gmail.com:
New bug report received and forwarded. Copy sent to bug-libtool <at> gnu.org. (Wed, 26 May 2021 10:30:02 GMT) Full text and rfc822 format available.

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

From: Jeffrey Walton <noloader <at> gmail.com>
To: bug-libtool <at> gnu.org
Subject: configure: error: C compiler cannot create executables
Date: Wed, 26 May 2021 06:29:03 -0400
[Message part 1 (text/plain, inline)]
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 (application/zip, attachment)]

Information forwarded to bug-libtool <at> gnu.org:
bug#48668; Package libtool. (Wed, 26 May 2021 13:50:01 GMT) Full text and rfc822 format available.

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 2 years and 326 days ago.

Previous Next


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