Problem with dynamic libraries on Mac OS X

General information about Neurotechnology and its software

Problem with dynamic libraries on Mac OS X

Postby ognyan » Dec 04, 2008 15:22

I am using VeriFinger_6_0_Extended_SDK_Trial on Mac OS X 10.5.5(Intel) and java version "1.5.0_16".
I am trying to execute VeriFingerSample.jar. I set: export DYLD_LIBRARY_PATH=/Library/VeriFinger/lib.
1. Using 32-Bit java: java -jar VeriFingerSamle.jar [-Djava.library.path=/Library/VeriFinger/lib]. The [] means i have started the java in both ways.
I have this exception:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no NeurotecJavaNative in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1753)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:993)
at com.neurotechnology.Library.NativeManager.loadDefault(NativeManager.java:17)
at com.neurotechnology.ScannerMan.ScannerMan.<clinit>(ScannerMan.java:44)
at VeriFingerSample.MainWindow.main(MainWindow.java:508)
2. Using 64-Bit java:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no NeurotecJavaNative in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1753)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:993)
at com.neurotechnology.Library.NativeManager.loadDefault(NativeManager.java:17)
at com.neurotechnology.ScannerMan.ScannerMan.<clinit>(ScannerMan.java:44)
at VeriFingerSample.MainWindow.main(MainWindow.java:508)
I tried to load your libraries from my code. Everything is ok if i use 32-bit java. Obviously your libraries are 32.bit. But in your NativeManager.loadDefault method after loading NLicensing, you try to load library with name NeurotecJavaNative. I don't jave such a library.
ognyan
 
Posts: 48
Joined: Dec 04, 2008 14:54

Re: Problem with dynamic libraries on Mac OS X

Postby Martynas » Dec 08, 2008 09:20

Hello,

SDK do not support Java on MAC OS. http://www.neurotechnology.com/vf_sdk.html#id_21_03. NeurotecJavaNative need to be compiled. Solution can be found in java\NeurotecJavaNative\NeurotecJavaNative folder of SDK installation.
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2246
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania


Return to Public

Who is online

Users browsing this forum: No registered users and 2 guests