2015-08-26, 14:41
Today I upgraded my system (apt-get dist-upgrade on ubuntu 14.04.1 to 14.04.3) and after that Kodi did not start and I just kept getting "/usr/local/bin/kodi: 156: /usr/local/bin/kodi: /usr/local/lib/kodi/kodi.bin: not found"
I check the directory "/usr/local/lib/kodi/" and true enough, the only file there was kodi-xrandr, no kodi.bin.
So I do "apt-get purge kodi and kodi.bin" and reinstall them, but the error persists.
Now I check the install path of kodi.bin with "dpkg -L kodi-bin" and notice it does not install in "/usr/local/lib/kodi/" but "/usr/lib/kodi/".
Either it is installing to the wrong path, or the /usr/local/bin/kodi is looking in the wrong directory. I solved it by symlinking "/usr/local/lib/kodi/" to "/usr/lib/kodi/", but it seems something is wrong somewhere with the installation.
I check the directory "/usr/local/lib/kodi/" and true enough, the only file there was kodi-xrandr, no kodi.bin.
So I do "apt-get purge kodi and kodi.bin" and reinstall them, but the error persists.
Now I check the install path of kodi.bin with "dpkg -L kodi-bin" and notice it does not install in "/usr/local/lib/kodi/" but "/usr/lib/kodi/".
Either it is installing to the wrong path, or the /usr/local/bin/kodi is looking in the wrong directory. I solved it by symlinking "/usr/local/lib/kodi/" to "/usr/lib/kodi/", but it seems something is wrong somewhere with the installation.