×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

KStars does not launch. libraw.so.20 not found

  • Posts: 180
  • Thank you received: 30
If I try to launch KStars from command line I get:
stellarmate@stellarmate:~ $ kstars
kstars: error while loading shared libraries: libraw.so.20: cannot open shared object file: No such file or directory

and KStars doesn't launch.
Then, if I search for this <em>libraw</em> library I get:
stellarmate@stellarmate:~ $ find /usr | grep libraw
/usr/bin/testlibraw
/usr/lib/arm-linux-gnueabihf/libraw_r.a
/usr/lib/arm-linux-gnueabihf/libraw.so.19.0.0
/usr/lib/arm-linux-gnueabihf/libraw.so.19
/usr/lib/arm-linux-gnueabihf/libraw_r.so
/usr/lib/arm-linux-gnueabihf/libraw_r.so.19
/usr/lib/arm-linux-gnueabihf/pkgconfig/libraw.pc
/usr/lib/arm-linux-gnueabihf/pkgconfig/libraw_r.pc
/usr/lib/arm-linux-gnueabihf/pkgconfig/libraw1394.pc
/usr/lib/arm-linux-gnueabihf/libraw1394.so.11.1.0
/usr/lib/arm-linux-gnueabihf/libraw1394.so
/usr/lib/arm-linux-gnueabihf/libraw1394.a
/usr/lib/arm-linux-gnueabihf/libraw1394.so.11
/usr/lib/arm-linux-gnueabihf/libraw.so
/usr/lib/arm-linux-gnueabihf/libraw_r.so.19.0.0
/usr/lib/arm-linux-gnueabihf/libraw.a
/usr/lib/arm-linux-gnueabihf/libraw1394.la
/usr/lib/arm-linux-gnueabihf/vlc/plugins/demux/librawaud_plugin.so
/usr/lib/arm-linux-gnueabihf/vlc/plugins/demux/librawvid_plugin.so
/usr/lib/arm-linux-gnueabihf/vlc/plugins/demux/librawdv_plugin.so
/usr/lib/arm-linux-gnueabihf/vlc/plugins/codec/librawvideo_plugin.so
/usr/include/libraw
/usr/include/libraw/libraw_types.h
/usr/include/libraw/libraw_const.h
/usr/include/libraw/libraw_alloc.h
/usr/include/libraw/libraw.h
/usr/include/libraw/libraw_version.h
/usr/include/libraw/libraw_datastream.h
/usr/include/libraw/libraw_internal.h
/usr/include/libraw1394
/usr/include/libraw1394/csr.h
/usr/include/libraw1394/ieee1394.h
/usr/include/libraw1394/raw1394.h
/usr/share/doc/libraw19
........ more lines .............

I do not understand what is going on. KStars is looking for libraw20 but it seems the system has libraw19 installed...
However KStars depends on libraw19, no libraw20:
stellarmate@stellarmate:~ $ apt-cache depends kstars
kstars
  Depends: kstars-data
  Depends: libqt5sql5-sqlite
 ...... more lines ...........
  Depends: libqt5widgets5
  Depends: libraw19                   <------------
  Depends: libstdc++6
 ........more lines............ 
  Suggests: konqueror
  Replaces: kstars-data
stellarmate@stellarmate:~ $ 

I'm almost sure the problem appeared after upgrading from beta yesterday, but I am not sure the beta is the problem, because others should have reported this same problem.
How can I fix this ?

joaquin
Last edit: 3 years 10 months ago by Joaquin. Reason: Add more info on the problem
3 years 10 months ago #54584

Please Log in or Create an account to join the conversation.

  • Posts: 108
  • Thank you received: 20
I had the same issue after updating from beta channel yesterday...i lost phd2 too (indi drivers were broken too)
I switched to stable from app
and all is fine for now.

Regards,
ouioui
Last edit: 3 years 10 months ago by ouioui01.
3 years 10 months ago #54591

Please Log in or Create an account to join the conversation.

  • Posts: 108
  • Thank you received: 20
If the problem is still there, maybe On need to open a ticket directly to stellarmate's support

Clear skies
3 years 10 months ago #54592

Please Log in or Create an account to join the conversation.

  • Posts: 180
  • Thank you received: 30
Thanks ouioui,
I will try that if there is no other solution. The problem is that some issues I had were solved in beta...

Meanwhile, I am getting an idea of ​​the complexity of Linux.
I just found out that with the ldd command the information I get is different from apt-cache. Now KStars does need libraw20:
stellarmate@stellarmate:~ $ ldd /usr/bin/kstars
  linux-vdso.so.1 (0xbee0b000)
  /usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so => /usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so (0xb66cc000)
  libKF5NewStuff.so.5 => /usr/lib/arm-linux-gnueabihf/libKF5NewStuff.so.5 (0xb6635000)
  ...................................many lines...............................................
  libwcs.so.6 => /usr/lib/arm-linux-gnueabihf/libwcs.so.6 (0xb360b000)
  libraw.so.20 => not found                                                                  <---------------------------
  libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0xb34c4000)
  ................................. many lines .....................................
  libvorbis.so.0 => /usr/lib/arm-linux-gnueabihf/libvorbis.so.0 (0xaf8ee000)
  libvorbisenc.so.2 => /usr/lib/arm-linux-gnueabihf/libvorbisenc.so.2 (0xaf85c000)
stellarmate@stellarmate:~ $ 

But everything I have found about libraw seems to indicate that the current version is 19 ...
I like to learn so that I can solve my problems myself, but sometimes it can be maddening...

joaquin
3 years 10 months ago #54594

Please Log in or Create an account to join the conversation.

  • Posts: 130
  • Thank you received: 11
For the time being you could try using a symbolic link.

cd to the directory where libraw is located
create a symboilc link
on my kubuntu system it would read

sudo ln -s libraw.so.19.0.2 libraw.so.20

update the library cache

sudo ldconfig

No guarantee that it works but worth a try.

Klaus
3 years 10 months ago #54613

Please Log in or Create an account to join the conversation.

  • Posts: 180
  • Thank you received: 30
Many thanks, Klaus !
The symbolic link worked !

joaquin
3 years 10 months ago #54615

Please Log in or Create an account to join the conversation.

Time to create page: 0.633 seconds