• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Runtime problem with c++ dynamic library
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
AIM/iChat/Skype:LaurentDaudelin  http://www.nemesys-soft.com/
Logiciels Nemesys Software               email@hidden

 _______________________________________________
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

  • Prev by Date: Re: indent when putting ":"
  • Next by Date: Re: Xcode 4 preview
  • Previous by thread: Re: indent when putting ":"
  • Next by thread: Create an app bundle for my executable file with set of .so files
  • Index(es):
    • Date
    • Thread