Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: markspace <-@.> Newsgroups: comp.lang.java.programmer Subject: Re: System.load / System.loadLibrary Date: Sun, 09 Oct 2011 10:31:52 -0700 Organization: A noiseless patient Spider Lines: 12 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 9 Oct 2011 17:31:54 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="XjIWM99mD7Ijfdu600oVPA"; logging-data="13393"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Hye/GNiPYahccMOZ8xrcU5vLBHl5f/uk=" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 In-Reply-To: Cancel-Lock: sha1:qRysZBsgbX5ROns1njkLLDvTtnY= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:8666 On 10/9/2011 9:41 AM, Philipp Kraus wrote: > If I do the call with System.load("/usr/lib/libmylib.so") under Linux it > works, > under OSX with System.load("/usr/lib/libmylib.dylib") it does not. OSX > seems to have the > DYLD_LIBRARY_PATH environment variable. And I know even less about OSX than I do about other *nix. Sorry, you're way past where I'm comfortable giving advice.