待辦事項 #21900

When loading libJSA.jnilib on OSX: no suitable image found

啟用日期: 2010-05-22 14:46 最後更新: 2010-05-22 14:46

回報者:
(匿名)
負責人:
(無)
類型:
狀態:
開啟
元件:
(無)
里程碑:
(無)
優先權:
5 - 中
嚴重程度:
8
處理結果:
檔案:

細節

In OSXConnector.java constructor I added exception message printing (please add that in your code also)

System.err.println("Could not load the library: "+e2.getMessage());

Now I see that it is not really the java.library.path issue but:

Could not load the library: true/private/var/folders/8v/8vvESm4IE6aGpWdxUlwtC++++TI/-Tmp-/libJSA.jnilib: no suitable image found. Did find: /private/var/folders/8v/8vvESm4IE6aGpWdxUlwtC++++TI/-Tmp-/libJSA.jnilib: no matching architecture in universal wrapper libJSA.jnilib is not in java.library.path

file lib/osx/libJSA.jnilib lib/osx/libJSA.jnilib: Mach-O universal binary with 2 architectures lib/osx/libJSA.jnilib (for architecture ppc): Mach-O dynamically linked shared library ppc lib/osx/libJSA.jnilib (for architecture i386): Mach-O dynamically linked shared library i386

Are you planning to include Mach-O 64-bit x86_64architecture? I guess that is the issue in my case.

Ticket History (3/3 Histories)

2010-05-22 14:46 Updated by: None
  • New Ticket "When loading libJSA.jnilib on OSX: no suitable image found" created
2013-03-02 06:56 Updated by: None
評語

Is there any work around for this ticket ? I have exactly the same problem

2015-01-21 14:53 Updated by: None
評語
I add this jnilib, but can not load it

I think it because my jvm is 64bit, and dll is 32 bit

Attachment File List

No attachments

編輯

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登入