Opened 9 years ago

Last modified 8 years ago

#49171 closed defect

clang-3.8: ld: library not found for -lc++ — at Version 1

Reported by: capponi.francesco87@… Owned by: jeremyhu@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: elcapitan Cc:
Port: clang-3.8

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hi, I was trying to install clang-3.8 and every time I get the following error message.

--->  Building clang-3.8
Error: org.macports.build for port clang-3.8 returned: command execution failed
Please see the log file for port clang-3.8 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.8/clang-3.8/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port clang-3.8 failed

The problem seems repeating even if I try to install an older version, like clang-3.7 I've already tried to clean and rebuild, or uninstall and rebuild: the result is always the same

I attach the log file

Change History (2)

Changed 9 years ago by capponi.francesco87@…

Attachment: main.log added

: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.8/clang-3.8/main.log

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: elcapitan added; clang-3.8 not working removed
Owner: changed from macports-tickets@… to jeremyhu@…
Summary: clang-3.8 fails on El Capitanclang-3.8: ld: library not found for -lc++

To fix this, run:

sudo port install ld64 +ld64_xcode
Note: See TracTickets for help on using tickets.