Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

JLink broken on Snow Leopard

  • To: mathgroup at smc.vnet.net
  • Subject: [mg104163] JLink broken on Snow Leopard
  • From: keven <kevenlin at gmail.com>
  • Date: Wed, 21 Oct 2009 06:32:05 -0400 (EDT)

Hi,

I have written an app that connects to Mathematica kernel via JLink.
The app no longer worked after I upgraded to Snow Leopard.  Running
the JLink SampleProgram returns following error:

Fatal error: cannot find the required native library named
JLinkNativeLibrary.
Exception in thread "main" java.lang.UnsatisfiedLinkError:
com.wolfram.jlink.NativeLink.MLOpen(I[Ljava/lang/String;[Ljava/lang/
String;)J
	at com.wolfram.jlink.NativeLink.MLOpen(Native Method)
	at com.wolfram.jlink.NativeLink.<init>(Unknown Source)
	at com.wolfram.jlink.MathLinkFactory.createMathLink0(Unknown Source)
	at com.wolfram.jlink.MathLinkFactory.createMathLink(Unknown Source)
	at com.wolfram.jlink.MathLinkFactory.createKernelLink0(Unknown
Source)
	at com.wolfram.jlink.MathLinkFactory.createKernelLink(Unknown Source)
	at SampleProgram.main(Unknown Source)

It seems that libJLinkNativeLibrary.jnilib needs to be recompiled for
Snow Leopard?

Thanks,

Keven


  • Prev by Date: Re: Text cell formating blues. LineBreakWithin, PageWidth, WordWrapping
  • Next by Date: Re: Text cell formating blues. LineBreakWithin, PageWidth, WordWrapping
  • Previous by thread: Re: Mathematica7 doesn't copy/paste metafile in vector format
  • Next by thread: Re: JLink broken on Snow Leopard