[Interest] OS X 10.6.8 Dyld Error Message: Library not loaded: /usr/lib/libc++.1.dylib
Thiago Macieira
thiago.macieira at intel.com
Tue Oct 20 21:10:54 CEST 2015
On Tuesday 20 October 2015 18:59:01 Edward Sutton wrote:
> Today one customer reported his 27" iMac from mid-2011 was crashing when
> launching my Qt 5.5 widget app.
> Dyld Error Message:
> Library not loaded: /usr/lib/libc++.1.dylib
> Referenced from:
> /Volumes/TSR/TSR.app/Contents/MacOS/../Frameworks/QtPrintSupport.framewor
> k/Versions/5/QtPrintSupport Reason: image not found
That version of OS X does not have libc++.
You need to recompile Qt with -no-c++11 and by editing your mkspec/macx-
clang/qmake.conf to add -stdlib=libstdc++ to the C++ flags.
You also want to make sure that Qt is compiled with -macosx-version-min=10.6
(or whatever that parameter name is, I never remember).
I have no clue whether that works in Qt 5.5. OS X 10.6 is just too old at this
point.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list