= note: /usr/bin/ld: /usr/lib/x86_64-linux-gnu//libX11.a(Font.o): relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC

I'm getting this linkin error on Rust:

= note: /usr/bin/ld: /usr/lib/x86_64-linux-gnu//libX11.a(Font.o): relocation R_X86_64_PC32 against symbolstderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC`

I'm using gtk3-rs (GitHub - gtk-rs/gtk3-rs: Rust bindings for GTK 3) which I believe it's what is including libX11.a, but I don't know how to get to the bottom of this issue.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.