[MacPorts] #49171: clang-3.8: ld: library not found for -lc++ (was: clang-3.8 fails on El Capitan)

MacPorts noreply at macports.org
Wed Oct 7 19:55:12 PDT 2015


#49171: clang-3.8: ld: library not found for -lc++
------------------------------------+------------------------
  Reporter:  capponi.francesco87@…  |      Owner:  jeremyhu@…
      Type:  defect                 |     Status:  new
  Priority:  Normal                 |  Milestone:
 Component:  ports                  |    Version:  2.3.4
Resolution:                         |   Keywords:  elcapitan
      Port:  clang-3.8              |
------------------------------------+------------------------
Changes (by ryandesign@…):

 * owner:  macports-tickets@… => jeremyhu@…
 * keywords:  clang-3.8 not working => elcapitan


Old description:

> 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

New description:

 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

--

Comment:

 To fix this, run:

 {{{
 sudo port install ld64 +ld64_xcode
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/49171#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list