= note: /usr/bin/ld: /home/phoenixbyrd/ChatGPT/target/debug/deps/libtao-02d12b260c148d78.rlib(tao-02d12b260c148d78.tao.b7b23eb92cc63943-cgu.1.rcgu.o): undefined reference to symbol 'gdk_wayland_window_get_wl_surface'
/usr/bin/ld: /lib/aarch64-linux-gnu/libgdk-3.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
= note: some extern functions couldn't be found; some native libraries may need to be installed or have their path specified
= note: use the -l flag to specify native libraries to link
= note: use the cargo:rustc-link-lib directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)
warning: chatgpt (bin "chatgpt") generated 1 warning
error: could not compile chatgpt (bin "chatgpt") due to previous error; 1 warning emitted
OS
Debian Bookworm aarch64
Environment
I'm trying to build this on Android through Debian proot-distro in Termux. I've managed to meet all other dependencies to get to the last steps and now I'm sadly stuck and my google fu just isn't strong enough to combat this issue. Can you provide guidance on how to resolve, or kindly build for aarch64 linux?
Error message
= note: /usr/bin/ld: /home/phoenixbyrd/ChatGPT/target/debug/deps/libtao-02d12b260c148d78.rlib(tao-02d12b260c148d78.tao.b7b23eb92cc63943-cgu.1.rcgu.o): undefined reference to symbol 'gdk_wayland_window_get_wl_surface' /usr/bin/ld: /lib/aarch64-linux-gnu/libgdk-3.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status
= note: some
extern
functions couldn't be found; some native libraries may need to be installed or have their path specified = note: use the-l
flag to specify native libraries to link = note: use thecargo:rustc-link-lib
directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)warning:
chatgpt
(bin "chatgpt") generated 1 warning error: could not compilechatgpt
(bin "chatgpt") due to previous error; 1 warning emittedOS
Debian Bookworm aarch64
Environment
I'm trying to build this on Android through Debian proot-distro in Termux. I've managed to meet all other dependencies to get to the last steps and now I'm sadly stuck and my google fu just isn't strong enough to combat this issue. Can you provide guidance on how to resolve, or kindly build for aarch64 linux?