#52705: libpng: configure fails with "C compiler cannot create executables" -------------------------+------------------------ Reporter: DGDanforth | Owner: ryandesign Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: libpng | -------------------------+------------------------ Comment (by ken-cunningham-webuse): the first error is {{{ ld: library not found for -lgcc }}} and that is kind of ominous. That is a basic library for all software to build. Something very odd has gone on, it would appear. Can you install any software at all? If nothing installs, I would first consider reinstalling Xcode and the command line tools. And after that, I'd give a very serious look at [wiki:LibcxxOnOlderSystems] before I went another step, as a lot of software you'll want to consider installing on this machine now and in the future will need that. -- Ticket URL: <https://trac.macports.org/ticket/52705#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X