Brian, on my machine (10.7) I don't have an archive file (.a) I have .dylib and it gives this output. This might be something that goes away with Lion. ∫ file /usr/lib/libstdc++.dylib > /usr/lib/libstdc++.dylib: Mach-O universal binary with 2 architectures > /usr/lib/libstdc++.dylib (for architecture x86_64): Mach-O 64-bit > dynamically linked shared library x86_64 > /usr/lib/libstdc++.dylib (for architecture i386): Mach-O dynamically > linked shared library i386 But even on 10.6 the built-in libstdc++ library should be _at least_ x86_64. I would expect it to be more likely for you library to be x86_64 only and lack i386. But all of the built-in libraries on OS X 10.6+ should be universal (except notably carbon which is deprecated and lacks a x86_64 variant). Have you replaced your system tool chain possibly with an i386 only version? If so, or unsure, try reinstalling Xcode? Hope something in there will help, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ William Woodall Graduate Software Engineering Auburn University w@auburn.edu wjwwood@gmail.com williamjwoodall.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ On Fri, Sep 2, 2011 at 1:50 PM, Brian Gerkey wrote: > On Fri, Sep 2, 2011 at 10:22 AM, Mark Moll wrote: > > On Sep 2, 2011, at 12:07 PM, Brian Gerkey wrote: > >> That's why I went for the source rosdep approach for tinyxml on OSX. > > > > I added a port for tinyxml to MacPorts a little while back that also uses > the -DTIXML_USE_STL flag. Would that work? > > Yep, that should do it. Did it replace the old one by the same name? > > Hmm, on my 10.6 machine, I just did a `sudo port selfupdate` followed > by `sudo port install tinyxml` and got a mile of linker errors, > preceded by this ominous line: > > ld: warning: ignoring file //usr/lib/libstdc++.a, missing required > architecture x86_64 in file > > I guess my system is now in some sort of profound 32-vs-64-bit hell.... > > brian. > _______________________________________________ > ros-users mailing list > ros-users@code.ros.org > https://code.ros.org/mailman/listinfo/ros-users >