Runtime problem with c++ dynamic library
Runtime problem with c++ dynamic library
- Subject: Runtime problem with c++ dynamic library
- From: Laurent Daudelin <email@hidden>
- Date: Mon, 26 Jul 2010 17:52:02 -0700
Hello.
I have a command line tool that includes a couple of classes compiled as ObjC++. My base SDK is 10.6 but my deployment is 10.5. When I run the tool on 10.6, all is fine. When I run the same executable, I get the following runtime error:
dyld: lazy symbol binding failed: Symbol not found: __ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_i Referenced from: /Applications/QUE.app/Contents/Resources/MergeAnnotations Expected in: /usr/lib/libstdc++.6.dylib
I've never added that library to my project so I'm guessing the linker knows where to find it. What I don't understand is that there is a libstdc++.6.dylib which is a symbolic link to libstdc++.6.0.4.dylib. I can't imagine that this call above is in the libstdc++.6.0.9.dylib library that comes with 10.6 but not in the one provided for 10.5 (libstdc++.6.0.6.dylib)? So, what am I missing?
If it matters, this used to work before but I had to do some changes and add additional frameworks to my tool. Those frameworks have some categories so I had to add the linker directives "-ObjC -all_load". Could that be the cause of the problem?
-Laurent.
-- Laurent Daudelin
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden