linuxdeploy: Inconsistency detected by ld.so: elf_machine_rela_relative

I just compiled a GTK4-based Rust application and created AppImage with this tool, but when I try to run it, I get the following:

Inconsistency detected by ld.so: ../sysdeps/x86_64/dl-machine.h: 534: elf_machine_rela_relative: Assertion `ELFW(R_TYPE) (reloc->r_info) == R_X86_64_RELATIVE' failed!

There doesn’t seem to be much information available about this online though, there are some reports that rebooting helped, but it didn’t in my case.

I’m on Ubuntu 22.04 right now.

About this issue

  • Original URL
  • State: closed
  • Created 7 months ago
  • Comments: 16 (8 by maintainers)

Most upvoted comments

We’re not using the latest version. We’re using some pinned version and it works too well currently to even attempt using a newer version. Plus I’m not sure they won’t just reply “well use the one that comes with your system”. Should there be more people affected, we’d first try to use a newer version of binutils.