OS X problemsSolved

Hey guys!

My OSX coder just tried to get LimeLM going on our mac version last night and had issues.

------------Last login: Sun Apr 3 20:01:16 on ttys00195-30-22-96:~ victor$ /Users/victor/BaseHead/build/Debug/BaseHead.app/Contents/MacOS/BaseHead ; exit;dyld: Library not loaded: @rpath/libTurboActivate.dylib Referenced from: /Users/victor/BaseHead/build/Debug/BaseHead.app/Contents/MacOS/BaseHead Reason: image not foundTrace/BPT traplogout

[Process completed]---------------

He seems to think the dylib is corrupt or in a wrong format.Maybe we need i386 only without ppc support would help also he thinks.

Any ideas what to try?thx!

Steve

Hey Steve,

From what you posted, it seems like the problem is that he's not correctly referencing the libTurboActivate.dylib file:

dyld: Library not loaded: @rpath/libTurboActivate.dylib...Reason: image not found

If he's making a C, C++, or Objectiv-C Mac OS X app then he should check out the "Using TurboActivate on Mac OS X" article. It specifically talks about the "runpath" and finding the libTurboActivate.dylib file at runtime. He should start with a simple console C app to see how it's done.

If he's using another language then he should make sure he's properly loading the dylib at runtime.

Maybe we need i386 only without ppc support would help also he thinks.

The dylib is a universal binary -- it already has i386 and x64 binaries built in. The PPC version is never loaded when you're on an Intel CPU. That being said he can always remove the "PPC" portion of the library (again, described in "Using TurboActivate on Mac OS X"), but this won't solve his problem. The problem is the dylib is not being found.

Lastly he should be using Mac OS X 10.5 or above. Older versions won't work.

We got past that previous hurdle, but now my coder is getting errors regarding Garbage Collection.He thinks we need the dylib re-compiled with G.C. ON.

mac-victor:~ victor$ /Users/victor/BaseHead/build/Debug/BaseHead.app/Contents/MacOS/BaseHead ; exit; objc[836]: '/Users/victor/BaseHead/build/Debug/BaseHead.app/Contents/MacOS/./libTurboActivate.dylib' was not compiled with -fobjc-gc or -fobjc-gc-only, but the application requires GC objc[836]: *** GC capability of application and some libraries did not match Illegal instruction logout [Process completed]

Any Ideas with this one?We are both C# .NET coders so dealing with Obj-C (Alien-C) is still new to us..........8)

thx!

Steve

I'll look into this. Can you send me a snippet of code to reproduce this problem (or a simple example project) to support@wyday.com ? You're using Mono, right?

No, we are native Obj-C/ Cocoa with out mac version

Ok, I will ask if that is possible.It's in the main program right now so that might be tough

cya!

Steve

Oh, ok -- I misunderstood you. I thought you were making a C# app on Mac. You don't need to create an example obj-c project I'll reproduce it myself.

cool...let us know what you find out!

thx!

s>

We've fixed the problem and the new version will be out later today or early tomorrow. Thanks for reporting this.

No problem!

thx!

Steve

The fixed version is now out. Get it on your API page.