[MacPorts] #43744: library not found for -lgcc
MacPorts
noreply at macports.org
Sun May 18 08:10:30 PDT 2014
#43744: library not found for -lgcc
----------------------+--------------------------------
Reporter: kj299@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: sqlite3 |
----------------------+--------------------------------
Comment (by kj299@…):
I'm still having similar issues as before. Not sure what is broken in my
system
---log-snip---
abilist=64 x32 32
cclist=gcc icc cc
configure:5546: /usr/bin/clang -c conftest.c >&5
configure:5549: $? = 0
configure:5552: checking whether /usr/bin/clang is gcc
configure:5554: result: yes
configure:5568: /usr/bin/clang 2>&1 | grep xlc >/dev/null
configure:5571: $? = 1
configure:5625: checking compiler /usr/bin/clang -O2 -pedantic -fomit-
frame-pointer -m64 -I/opt/local/include
Test compile:
configure:5639: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64
-I/opt/local/include conftest.c >&5
ld: warning: directory '/usr/lib/gcc/i686-apple-darwin13/4.2.1/x86_64'
following -L not found
ld: warning: directory '/usr/lib/gcc/i686-apple-darwin13/4.2.1/x86_64'
following -L not found
ld: warning: directory '/usr/lib/i686-apple-darwin13/4.2.1' following -L
not found
ld: warning: directory '/usr/lib/gcc/i686-apple-darwin13/4.2.1' following
-L not found
ld: warning: directory '/usr/lib/gcc/i686-apple-darwin13/4.2.1' following
-L not found
ld: warning: directory '/usr/lib/gcc/i686-apple-
darwin13/4.2.1/../../../i686-apple-darwin13/4.2.1' following -L not found
ld: warning: directory '/usr/lib/gcc/i686-apple-darwin13/4.2.1/../../..'
following -L not found
ld: library not found for -lgcc
configure:5642: $? = 1
failed program was:
int main () { return 0; }
configure:6665: result: no
configure:6903: error: could not find a working compiler, see config.log
for details
---log-snip----
host:~ username$ xcode-select -print-path
/Applications/Xcode.app/Contents/Developer
host:~ username$ gcc --version
i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
5646) (LLVM build 2207.5)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
--
Ticket URL: <https://trac.macports.org/ticket/43744#comment:4>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list