Kodi Leia v18.3 libraw error

Hi there. Been trying to view some images in raw cr2 that the latest version of kodi should be able to support but the libraw crashes from “an error has occurred.”

Anyone had this problem and was able to solve it?

Thanks in advance

I am not sure if we’ve had reports of this, but I’m not that familiar with the format.
Some logs might help us here.



I’ll try later to upload the logs. I’ve disabled libraw encoder because it was freezing/crashing kodi when I tried to view the images.

Hey. Here are the logs :


Here’s the problem:

2019-07-04 19:19:28.541 T:3962745568 ERROR: Unable to load /usr/lib/kodi/addons/imagedecoder.raw/imagedecoder.raw.so.2.0.1, reason: libraw_r.so.19: cannot open shared object file: No such file or directory

osmc@osmc:/usr/lib/kodi/addons/imagedecoder.raw$ ldd imagedecoder.raw.so.2.0.1 
	linux-vdso.so.1 (0x7ecbf000)
	/usr/lib/libarmmem.so (0x76fa4000)
	libraw_r.so.19 => not found
	libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0x76e98000)
	libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0x76e20000)
	libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0x76df7000)
	libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0x76d09000)
	/lib/ld-linux-armhf.so.3 (0x76fcd000)

There is no libraw_r.so.19 in Debian stretch (only v15) though there is on Debian buster.

Im really noob at this stuff. So im guessing there is a file missing? Any way to fix it then?

You might need to wait until OSMC moves to Debian buster.

I did try to install libraw19 on my sandbox system but it looks like it would have to update some critical packages and there’s a chance it would break your system.

For the record:

osmc@osmc:/etc/apt/preferences.d$ sudo apt-get -t testing install libraw19
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libc-bin libc-dev-bin libc-l10n libc6 libc6-dev locales
Suggested packages:
  glibc-doc manpages-dev
Recommended packages:
  manpages manpages-dev libidn2-0
The following NEW packages will be installed:
The following packages will be upgraded:
  libc-bin libc-dev-bin libc-l10n libc6 libc6-dev locales
6 upgraded, 1 newly installed, 0 to remove and 348 not upgraded.
Need to get 10.7 MB of archives.
After this operation, 9891 kB of additional disk space will be used.
Do you want to continue? [Y/n]

So, ill relax and watch on my pc for now. JPG looses too many information to make it watchable. My nas also converts the CR2 to JPG and it doesnt even display in fullscreen so ill just wait.

Thanks for the help anyway.