Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: native lib problem in leopard




On 7 dec 2007, at 19:49, Pratik Solanki wrote:

Many of you complained about UnsatisfiedLinkerErrors with some libraries on Leopard while those libraries loaded just fine on Tiger. I believe I've figured out the issue.

It all boils down to having "extern char **environ" in your code. A quick way to see if your library is running into this issue is to run nm

$ nm <library> | grep environ
        U _environ


I don't see this. I will investigate along these lines. Isn't there a way to have the loader tell you which symbol it did not find?


René. _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: native lib problem in leopard (From: Pratik Solanki <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.