Showing results for 
Search instead for 
Did you mean: 

can't start hybrid: ERROR - Unable to load the Wrapper's native library

0 Kudos

I am upgrading to hybris 2105, but when start hybrid got these error.

Have the similar issue in 2005, however still can start hybrid with WARNING not ERROR.

Running hybrisPlatform on Tomcat...

--> Wrapper Started as Console

Java Service Wrapper Professional Edition 64-bit 3.5.44

Copyright (C) 1999-2020 Tanuki Software, Ltd. All Rights Reserved.

Licensed to SAP SE for hybris Platform

Launching a JVM...

Listening for transport dt_socket at address: 8000

WrapperManager: Initializing...


WrapperManager: ERROR - Unable to load the Wrapper's native library because none of the

WrapperManager: following files:

WrapperManager: libwrapper-macosx-universal-64.dylib

WrapperManager: libwrapper.dylib

WrapperManager: could be located on the following java.library.path:


WrapperManager: Please see the documentation for the

WrapperManager: configuration property.


<-- Wrapper Stopped

View Entire Topic
0 Kudos

I happen to work with an old Hybris version - 1905, and getting the same error.

I was able to get around it like this...

The issue is that at the time this old Hybris version was produced, Tanuki wrapper was supplying its library for Mac in the form of .jnilib, so for my Mac version I can see the file hybris/bin/platform/tomcat/lib/libwrapper-macosx-universal-64.jnilib, and it complains that it needs libwrapper-macosx-universal-64.dylib, which doesn't exist in that directory. (JNILIB is an older format of the same library that is now supplied as DYLIB.)

I downloaded the current version of Tanuki wrapper, Community Edition, and copied libwrapper.dylib to my hybris/bin/platform/tomcat/lib directory, now when I launch Hybris, it works but gives a warning that the version of the dylib I supplied is different from what Hybris is configured for, but that however this should still work. And it seems to work... Will see how it goes in the future.