Replies: 1 comment
-
What do you mean by "problems" here? Could you be more specific? If there are problems, are there any logs you can share with us? If you think there are multiple copies of the libstdc++ in libsherpa-onnx-jni.so, could you show how you verify it? Are you able to get duplicate symbols from libsherpa-onnx-jni.so? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Consider the
sherpa-onnx-jni
library. It has several dependencies likepiper_phonemize
,espeak-ng
etc./sherpa-onnx/build/_deps/piper_phonemize-build/CMakeFiles/piper_phonemize.dir/flags.make:
/sherpa-onnx/build/_deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/flags.make has no such entry.
I haven't investigated each and every dependency but I am trying to make sense of several questions:
-static-libstdc++ -static-libgcc
or not in a dependency?libstdc++
andlibgcc
in finalsherpa-onnx-jni.so
file (one copy from each dep that had those flags in it, and a final additional copy from statically linkingsherpa-onnx-jni
itself againstlibgcc
andlibstdc++
) and won't it create all sorts of problems?Beta Was this translation helpful? Give feedback.
All reactions