Hello! Could you please help me? I have the java.lang.UnsatisfiedLinkError exception while I’m trying to execute the following code
asposeDocument.getLayoutOptions().setTextShaperFactory(com.aspose.words.shaping.harfbuzz.HarfBuzzTextShaperFactory.getInstance())
I’m using the java 8, macOS Ventura version 13.4 and Aspose.Words for Java 22.5. This exception occurs only when I’m using macOS.
Related stacktrace:
Aspose.Words native libs cannot be loaded. /private/var/folders/wl/ll9z8kh92k94qw75hnply_fr0000gn/T/AsposeNative/Shaping.Harfbuzz/1687258123689/libharfbuzz-shaping-engine-dll.so: dlopen(/private/var/folders/wl/ll9z8kh92k94qw75hnply_fr0000gn/T/AsposeNative/Shaping.Harfbuzz/1687258123689/libharfbuzz-shaping-engine-dll.so, 0x0001): tried: '/private/var/folders/wl/ll9z8kh92k94qw75hnply_fr0000gn/T/AsposeNative/Shaping.Harfbuzz/1687258123689/libharfbuzz-shaping-engine-dll.so' (not a mach-o file), '/System/Volumes/Preboot/Cryptexes/OS/private/var/folders/wl/ll9z8kh92k94qw75hnply_fr0000gn/T/AsposeNative/Shaping.Harfbuzz/1687258123689/libharfbuzz-shaping-engine-dll.so' (no such file), '/private/var/folders/wl/ll9z8kh92k94qw75hnply_fr0000gn/T/AsposeNative/Shaping.Harfbuzz/1687258123689/libharfbuzz-shaping-engine-dll.so' (not a mach-o file)java.lang.UnsatisfiedLinkError: com.aspose.words.shaping.harfbuzz.HB.hb_buffer_create(I)J at com.aspose.words.shaping.harfbuzz.HB.hb_buffer_create(Native Method) at com.aspose.words.shaping.harfbuzz.zzVSm.<init>(Unknown Source)... at
Note, that libharfbuzz-shaping-engine-dll.so file exists in the path from error.
Hope for your help.