×
INDI Library v1.8.6 Released (21 Aug 2020)

August 2020 release of INDI Library v1.8.6 introduces new drivers while providing fixes and improvements to existing devices and core framework.

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

4 months 4 weeks ago 4 months 4 weeks ago by jabian. Reason: Add more info on the problem
jabian
Senior Boarder
Senior Boarder
Posts: 73
More
Topic Author
KStars does not launch. libraw.so.20 not found #54584
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

Celestron AVX
Celestron SCT 8” Edge HD, Primaluce ESATTO
TS Optics Photoline 80mm f/6 FPL53 Triplet-Apo, Primaluce SESTO SENSO 2
Celestron OAG, Lodestar X2 guide
Pegasus PowerBox Advanced
Stellarmate Gadget
AstroPhotography Tool (APT)
Nikon D90

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

4 months 4 weeks ago 4 months 4 weeks ago by ouioui01.
ouioui01
Senior Boarder
Senior Boarder
Posts: 51
More
KStars does not launch. libraw.so.20 not found #54591
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

----
ES ED 127mm FCD100, AZEQ6 GT, FocusLynx ESX25, Nikon D800 full modded / D5300, ASI120mm-s for guiding, Polemaster
-- RPi4 4Gb Stellarmate 1.5.3, Windows 10 Pro, Kstars/VNC
-- RPi4 8Gb Ubuntu mate 20.04.1 LTS - Kstars/NoMachine

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

4 months 4 weeks ago
ouioui01
Senior Boarder
Senior Boarder
Posts: 51
More
KStars does not launch. libraw.so.20 not found #54592
If the problem is still there, maybe On need to open a ticket directly to stellarmate's support

Clear skies

----
ES ED 127mm FCD100, AZEQ6 GT, FocusLynx ESX25, Nikon D800 full modded / D5300, ASI120mm-s for guiding, Polemaster
-- RPi4 4Gb Stellarmate 1.5.3, Windows 10 Pro, Kstars/VNC
-- RPi4 8Gb Ubuntu mate 20.04.1 LTS - Kstars/NoMachine

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

4 months 4 weeks ago
jabian
Senior Boarder
Senior Boarder
Posts: 73
More
Topic Author
KStars does not launch. libraw.so.20 not found #54594
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

Celestron AVX
Celestron SCT 8” Edge HD, Primaluce ESATTO
TS Optics Photoline 80mm f/6 FPL53 Triplet-Apo, Primaluce SESTO SENSO 2
Celestron OAG, Lodestar X2 guide
Pegasus PowerBox Advanced
Stellarmate Gadget
AstroPhotography Tool (APT)
Nikon D90

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

4 months 4 weeks ago
klaus
Expert Boarder
Expert Boarder
Posts: 126
Karma: 1
More
KStars does not launch. libraw.so.20 not found #54613
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

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

4 months 4 weeks ago
jabian
Senior Boarder
Senior Boarder
Posts: 73
More
Topic Author
KStars does not launch. libraw.so.20 not found #54615
Many thanks, Klaus !
The symbolic link worked !

joaquin

Celestron AVX
Celestron SCT 8” Edge HD, Primaluce ESATTO
TS Optics Photoline 80mm f/6 FPL53 Triplet-Apo, Primaluce SESTO SENSO 2
Celestron OAG, Lodestar X2 guide
Pegasus PowerBox Advanced
Stellarmate Gadget
AstroPhotography Tool (APT)
Nikon D90

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

Time to create page: 0.515 seconds