Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6903131
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:53:15+00:00 2026-05-27T07:53:15+00:00

I have two static libraries which seem to have duplicate symbols(TBXML.o) and won’t compile.

  • 0

I have two static libraries which seem to have duplicate symbols(TBXML.o) and won’t compile.

ld: duplicate symbol _OBJC_METACLASS_$_TBXML in /Users/Hoya/Desktop/SocialSync/include/SMUFLib/deviceLib/libSFCommonLibs.a(TBXML.o) and /Users/Hoya/Desktop/SocialSync/Cauly/libCaulyDevice.a(TBXML.o) for architecture armv6
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang failed with exit code 1

The developer of both libraries don’t provide the source code so there is nothing I can do to edit the code directly to fix it.

Is there anything I can do to work around this without nagging the library developers?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T07:53:15+00:00Added an answer on May 27, 2026 at 7:53 am

    Part 1 — Figuring out whether or not the symbols represent same object.

    Note: This is OS X specific.

    Okay let’s look at how to can look at their disassembly.

    You may be able to use the otool to do this:

    otool -v -t '/Users/Hoya/Desktop/SocialSync/Cauly/libCaulyDevice.a(TBXML.o)' 
    

    and

    otool -v -t '/Users/Hoya/Desktop/SocialSync/include/SMUFLib/deviceLib/libSFCommonLibs.a(TBXML.o)'
    

    Examine the disassembly to see if they are the same, if so then you are in luck 🙂

    If the foo.a(bar.o) format of the above commands doesn’t work (for whatever reason although it should) you can try it by removing the (TBXML.o) from both but then you’d have to do a bit more work.

    If they ARE the same then you can easily use the otool + lipo to rebuild ONE of the two .a files so that TBXML.o is not in it

    In case they aren’t the same then a lot more trickery has to be done 🙂 may not even be possible easily.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two projects, a Cocoa iPhone application and a static library which it
Suppose I have two functions which look like this: public static void myFunction1(int a,
Say I have two static libraries that were not built by me and I
Imagine that we have two static libraries built with different implementations of std::vector .
I have two scenarios. Suppose I have 3 shared libraries that export C++ symbols,
I have created two separate static libraries in Xcode for usage on iOS, A
Suppose you have two static libraries A and B such that A references methods
I have two C static libraries libA and libB that I link against my
I have two databases in SQL2k5: one that holds a large amount of static
Suppose I have two classes that both contain a static variable, XmlTag. The second

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.