I upgraded to XCode 1.5 sometime ago, and everything to work well, however, I have discovered (along with others) that the upgrade uses ZeroLink which breaks linking to libraries. It linked fine to libraries compiled under XCode 1.2, but I got unknown symbol errors for any library compiled with 1.5.

I've read several sites talking about solutions. I tried running ranlib on the libraries; that didn't work. I tried turning ZeroLink off; that didn't work. Apple had an older article on linking issues that suggested that XCode should always be un-installed before installing a newer version - so much for upgrading I guess. Well, I didn't uninstall XCode 1.2 before installing XCode 1.5, so I'm trying that now... if that doesn't work, I'll be downgrading back to 1.2.

Reinstalling 1.5 didn't seem to fix the issue. I noticed that someone mentioned linking issues because the soft link for cc points to gcc, I'm going to point this at g++ and see what happens. Nothing, that didn't help - I guess I'm not using cc for linking.

Now, I'm downloading 1.2 so that I can down-grade, grrr....

Rolling back to 1.2 didn't solve the issue, so it may be a problem with the library after all. :(

 

Add to My Yahoo!

Add to Google

Subscribe with Bloglines

Austin Gilbert/Male/26-30. Lives in United States/Oklahoma/Tulsa/Midtown, speaks English. Spends 40% of daytime online. Uses a Fast (128k-512k) connection. And likes computer science/photography.
This is my blogchalk: United States, Oklahoma, Tulsa, Midtown, English, Austin Gilbert, Male, 26-30, computer science, photography.

XCode 1.5 breaks linking
2004/08/16