[MacPorts] #50481: qt4-mac: libc++ under Lion
MacPorts
noreply at macports.org
Fri Jan 29 08:10:40 PST 2016
#50481: qt4-mac: libc++ under Lion
--------------------------+-------------------------
Reporter: ctreleaven@… | Owner: michaelld@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Keywords: | Port: qt4-mac
--------------------------+-------------------------
I have need to use libc++ on Lion as described in:
https://trac.macports.org/wiki/LibcxxOnOlderSystems
I tried to build qt4-mac in this environment but it failed with
{{{
:info:build ld: warning: directory not found for option
'-F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt4-mac/qt4-mac/work
/qt-everywhere-opensource-src-4.8.7/Library/Frameworks'
:info:build ld: warning: directory not found for option
'-F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt4-mac/qt4-mac/work
/qt-everywhere-opensource-src-4.8.7/Library/Frameworks'
:info:build Undefined symbols for architecture x86_64:
:info:build "std::__1::ostreambuf_iterator<char,
std::__1::char_traits<char> > std::__1::__pad_and_output<char,
std::__1::char_traits<char> >(std::__1::ostreambuf_iterator<char,
std::__1::char_traits<char> >, char const*, char const*, char const*,
std::__1::ios_base&, char)", referenced from:
:info:build std::__1::basic_ostream<char,
std::__1::char_traits<char> >& std::__1::operator<<
<std::__1::char_traits<char> >(std::__1::basic_ostream<char,
std::__1::char_traits<char> >&, char const*) in main.o
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v
to see invocation)
:info:build make[2]: *** [../../bin/qmlplugindump] Error 1
}}}
I see that the linker args include '-stdlib=libc++'. Main log attached.
Is there a way to successfully build qt4-mac in this environment?
--
Ticket URL: <https://trac.macports.org/ticket/50481>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list