dlopen failed libflipper.so...
🐛 Bug Report
FlipperConnectionThread
Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "BN_set_flags" referenced by "/data/app/com.easyhome.serve--F4N2u-7bnXGAcmAfJb1TQ==/lib/arm64/libflipper.so"...
FATAL EXCEPTION: FlipperConnectionThread
Process: com.easyhome.serve, PID: 13624
java.lang.NoClassDefFoundError:
FATAL EXCEPTION: FlipperEventBaseThread
Process: com.easyhome.serve, PID: 13624
java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libflipper.so caused by: dlopen failed: cannot locate symbol "BN_set_flags" referenced by "/data/app/com.easyhome.serve--F4N2u-7bnXGAcmAfJb1TQ==/lib/arm64/libflipper.so"... result: 0
at com.facebook.soloader.SoLoader.doLoadLibraryBySoName(SoLoader.java:1098)
at com.facebook.soloader.SoLoader.loadLibraryBySoNameImpl(SoLoader.java:914)
at com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:826)
at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:773)
at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:743)
at com.facebook.flipper.android.EventBase.
To Reproduce
just need to open.
Environment
Android Version 0.140.0 Desktop 0.140.0 Ubuntu 22.04
Similarly, for android this configuration is also not consistent:
const App = () => {
return (
<View>
<Text>
{new Intl.NumberFormat('en-US', {style: 'percent', signDisplay: 'always'}).format(.32)}
{'\n'}
{new Intl.NumberFormat('en-US', {style: 'percent', signDisplay: 'always'}).format(-.32)}
{'\n'}
{new Intl.NumberFormat('en-US', {style: 'percent', signDisplay: 'auto'}).format(.32)}
{'\n'}
{new Intl.NumberFormat('en-US', {style: 'percent', signDisplay: 'auto'}).format(-.32)}
{'\n'}
{!!global.HermesInternal ? 'Hermes' : 'JSC'}
</Text>
</View>
);
};
export default App;
Produces the following output on Android:
+32+
-32%
32%
-32%
For iOS and Web it produces the correct output:
+32%
-32%
32%
-32%
Having the same issue
November 30, 2023 and I am running into the same problem. :(
I had raised a PR to fix this: https://github.com/facebook/hermes/pull/1483