Skip navigation.
 
mlRe: can't open library libstdc++ when running on 10.2
FROM : George Warner
DATE : Sat Apr 30 18:22:08 2005

On Fri, 29 Apr 2005 21:01:56 -0600, Nick Zitzmann <<email_removed>>
wrote:
> On Apr 29, 2005, at 11:36 AM, Jérôme Seydoux wrote:
>

>> If I create a new project in XCode 2.0 (in tiger), using the C++ Tool
>> template, set the deployment target to 10.2, I get this error when
>> running the deployment build on 10.2:
>> dyld: can't open library: /usr/lib/libstdc++.6.dylib.
>> What can I do about that?

>
> If you want to release applications that work on versions of Mac OS X
> prior to 10.3.9, then you must use GCC 3.3 to build your project. GCC
> 4 insists on linking to the dynamic version of libstdc++, as well as
> the new "libmx" library, both of which did not exist prior to 10.3.9.


IIRC there are static versions of those librarys that you can use if you
need an executable that will run on pre 10.3.9 systems. Look for a new Q&A
that discusses this.
--
Enjoy,
George Warner,
Schizophrenic Optimization Scientist
Apple Developer Technical Support (DTS)

Related mailsAuthorDate
mlcan't open library libstdc++ when running on 10.2 Jérôme Seydoux Apr 29, 19:36
mlRe: can't open library libstdc++ when running on 10.2 Nick Zitzmann Apr 30, 05:01
mlRe: can't open library libstdc++ when running on 10.2 Daniel DeCovnick Apr 30, 10:22
mlRe: can't open library libstdc++ when running on 10.2 George Warner Apr 30, 18:22