Actions
Bug #5344
openjava.lang.UnsatisfiedLinkError: Can't load library: /C:/Program Files/Saxonica/SaxonC EE 11.2/samples/cppTests/cppExtensionFunction.dll
Start date:
2022-02-21
Due date:
% Done:
100%
Estimated time:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Found in version:
111.2
Fixed in version:
SaxonC Languages:
SaxonC Platforms:
SaxonC Architecture:
Description
Reported by user in the forum post: https://saxonica.plan.io/boards/4/topics/8562
Writing an extension function on Windows C++ and PHP currently fails with the following error message:
java.lang.UnsatisfiedLinkError: Can't load library: /C:/Program Files/Saxonica/SaxonC EE 11.2/samples/cppTests/cppExtensionFunction.dll
The failure is in the Java code. We incorrectly create a leading slash: We are failing resolve the file path. Specifically the cwd is not currently been passed and we fail the fallback of using the SAXONC_HOME environment variable.
Updated by O'Neil Delpratt almost 3 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 100
Bug fixed in the NativeCall class. Committed to git repos. Testing required
Updated by O'Neil Delpratt almost 3 years ago
I am looking at this bug issue again as I am getting a similar failure on linux:
java.lang.UnsatisfiedLinkError: Can't load library: /home/location/samples/cppTests/cppExtensionFunction.so
Please register to edit this issue
Actions