You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.UnsatisfiedLinkError: dlopen failed: library "libroc.so.0.1" not found
at java.lang.Runtime.loadLibrary0(Runtime.java:1071)
at java.lang.Runtime.loadLibrary0(Runtime.java:1007)
at java.lang.System.loadLibrary(System.java:1667)
at com.github.rocproject.roc.RocLibrary.loadLibrary(RocLibrary.java:5)
at com.github.rocproject.roc.ChannelSet.<init>(ChannelSet.java:18)
at com.github.rocproject.roc.ChannelSet.<clinit>(ChannelSet.java:14)
Yes gradle plugin doesn't pack shared libraries with extensions that differ from .so so libroc.so.0.1 file won't be packed inside aar.
I've fixed setting LDFLAGS="-Wl,-soname,libroc.so" before building roc library with scons
Activity
gavv commentedon Jun 4, 2020
Note: ironically, soname and symlink feature was first introduced specifically for Android port: roc-streaming/roc-toolkit#222 (comment)
MatteoArella commentedon Jun 5, 2020
Yes gradle plugin doesn't pack shared libraries with extensions that differ from
.sosolibroc.so.0.1file won't be packed inside aar.I've fixed setting
LDFLAGS="-Wl,-soname,libroc.so"before building roc library withscons