relocation error

Sonarr version (exact version): 3.0.6.1342
Mono version (if Sonarr is not running on Windows): 6.12.0.122
OS: osmc
Debug logs:https://paste.osmc.tv/asonucivuf
Description of issue:
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
Ive tried reinstalling mono and libc6 but still have the same result.
Any help please?

Solved this by purging mono and reinstalling it