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
I haven't tested ndk-gdb, but I suspect it's broken. The python 3.9 dynamic library isn't in the toolchain's lib64 directory, but is instead in its python3/lib64 directory. On Linux and Darwin, there isn't an rpath pointing at the python3 directory.
macOS:
$ /Users/rprichard/android-ndk-r23/toolchains/llvm/prebuilt/darwin-x86_64/bin/lldb
dyld: Library not loaded: @rpath/libpython3.9.dylib
Referenced from: /Users/rprichard/android-ndk-r23/toolchains/llvm/prebuilt/darwin-x86_64/lib64/liblldb.12.0.5git.dylib
Reason: image not found
Linux:
rprichard@cashew:/x/android-ndk-r23$ docker run -it -v$PWD:$PWD ubuntu:20.04 $PWD/toolchains/llvm/prebuilt/linux-x86_64/bin/lldb
/x/android-ndk-r23/toolchains/llvm/prebuilt/linux-x86_64/bin/lldb: error while loading shared libraries: libpython3.9.so.1.0: cannot open shared object file: No such file or directory
We also use the script to set PYTHONHOME - which IIUC can't be eliminated.
I also don't see a build option to set just lldb's linker flags without adding this RPATH to the rest of the tools. So let's continue using the script to set LD_LIBRARY_PATH as well.
I haven't tested ndk-gdb, but I suspect it's broken. The python 3.9 dynamic library isn't in the toolchain's lib64 directory, but is instead in its python3/lib64 directory. On Linux and Darwin, there isn't an rpath pointing at the python3 directory.
macOS:
Linux:
Windows:
A dialog appears: The code execution cannot proceed because python39.dll was not found.
The text was updated successfully, but these errors were encountered: