fyi the current version in the ubuntu repo force closes
the only way to get it working is to manually compile it
I got help from the kodi forums and got it working, they are working on manually patching the version on the repo
for the time being tho if you manually compile it it will work...