Relocation error[SOLVED]

Hi looks like I have a problem with sonarr/mono.
sonarr was exiting with error code 127
I tried running sonarr from command line and get this

mono: relocation error: mono: symbol moG version GLIBC_2.4 not defined in file libm.so.6 with link time reference

I can see in the logs mono failed to setup with the same relocation error
https://paste.osmc.tv/asonucivuf

Ive tried reinstalling mono and libc6 but still have the same result.
Any help please?

Looks like it has been built for a different distribution or different version of Debian.

1 Like

Both sonarr and mono were added using there own debian buster repositorys so they should be good so Iā€™m lost

Solved it by using apt puge libmono* mono-complete and tried again and this time mono compiled correctly.