Author Topic: PI not working in xubuntu since recent updates to 16.04.1 LTS  (Read 4794 times)

astropixel

  • Guest
Hi.

PI not working in xubuntu since recent updates to 16.04.1 LTS.

Code: [Select]
./PixInsight: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory
Code: [Select]
LSB Version: core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04

Offline copello

  • PTeam Member
  • Newcomer
  • Posts: 31
Re: PI not working in xubuntu since recent updates to 16.04.1 LTS
« Reply #1 on: 2016 November 25 23:17:48 »
It looks that you tried to start PixInsight as follows:

Code: [Select]
/opt/PixInsight/bin>./PixInsight
./PixInsight: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory
/opt/PixInsight/bin>

That will not work as several libraries (*.so) are not found

Code: [Select]
/opt/PixInsight/bin>ldd ./PixInsight
linux-vdso.so.1 (0x00007ffebf740000)
libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007fb1e23e8000)
libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007fb1e21c8000)
libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007fb1e1fb8000)
libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007fb1e1da8000)
libXrandr.so.2 => /usr/lib/x86_64-linux-gnu/libXrandr.so.2 (0x00007fb1e1b98000)
libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007fb1e18e8000)
libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007fb1e16a8000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007fb1e1490000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007fb1e1148000)
libgthread-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0 (0x00007fb1e0f40000)
libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007fb1e0ce8000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fb1e0ae0000)
libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007fb1e07d0000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fb1e05b0000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fb1e03a8000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007fb1e0190000)
libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007fb1dff88000)
libidn.so.11 => /usr/lib/x86_64-linux-gnu/libidn.so.11 (0x00007fb1dfd50000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fb1dfb30000)
libssl.so.10 => not found
libcrypto.so.10 => not found
libssh2.so.1 => /usr/lib/x86_64-linux-gnu/libssh2.so.1 (0x00007fb1df900000)
libQt5Sensors.so.5 => not found
libQt5Positioning.so.5 => not found
libQt5MultimediaWidgets.so.5 => not found
libQt5Multimedia.so.5 => not found
        ...
        ...

Either start it (correctly) with:
Code: [Select]
>./PixInsight.sh     

PixInsight Core 01.08.04.1198 Ripley (x64)
Copyright (c) 2003-2016 Pleiades Astrophoto
...

or by clicking on the application link which is integrated in your window manager, e.g. xfce4, gnome, etc...
The application link is created during PixInsight installation.

If you look quickly in ./PixInsight.sh you will see that the library path is there set

Code: [Select]
#!/bin/bash
appname=`basename $0 | sed s,\.sh$,,`
dirname=`dirname $0`
if [ "${dirname:0:1}" != "/" ]; then
   dirname=$PWD/$dirname
fi
LD_LIBRARY_PATH=$dirname/lib:$dirname
...
...

thus the required libraries will be found.

Cheers
 Thomas

astropixel

  • Guest
Re: PI not working in xubuntu since recent updates to 16.04.1 LTS
« Reply #2 on: 2016 November 26 13:26:46 »
Thanks Thomas.

The reason for posting is that PixInsight cannot be launched by the usual means; 'clicking the application link'. This led me to investigate further.

I did try ./PixInsight.sh

Code: [Select]
./PixInsight.sh/opt/PixInsight/bin/./PixInsight: error while loading shared libraries: libgstapp-0.10.so.0: cannot open shared object file: No such file or directory
This indicates further problems accessing libraries.

I cannot launch PI by any means, including after a new install.

Offline copello

  • PTeam Member
  • Newcomer
  • Posts: 31
Re: PI not working in xubuntu since recent updates to 16.04.1 LTS
« Reply #3 on: 2016 November 27 02:43:34 »
According to your error message, library libgstapp-0.10.so.0
is either not installed or not in the library path. On my Debian Jessie it is in package:

Code: [Select]
>apt-file search /usr/lib/x86_64-linux-gnu/libgstapp-0.10.so
libgstreamer-plugins-base0.10-0: /usr/lib/x86_64-linux-gnu/libgstapp-0.10.so.0
libgstreamer-plugins-base0.10-0: /usr/lib/x86_64-linux-gnu/libgstapp-0.10.so.0.25.0
libgstreamer-plugins-base0.10-dev: /usr/lib/x86_64-linux-gnu/libgstapp-0.10.so

Is the package libgstreamer-plugins-base0.10-0 installed on your system?

astropixel

  • Guest
Re: PI not working in xubuntu since recent updates to 16.04.1 LTS
« Reply #4 on: 2016 November 28 09:03:00 »
Thank you. It is now. I don't recall uninstalling libgstreamer-plugins-base. I'm not sure it was ever installed.

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: PI not working in xubuntu since recent updates to 16.04.1 LTS
« Reply #5 on: 2016 November 29 16:16:38 »
Nothing to add to Thomas' excellent diagnostic and solution. *Never* try to run the PixInsight executable directly on Linux and FreeBSD. Always use the launcher script. If you have installed the application correctly, you can also say just 'PixInsight' from anywhere on your filesystem, since the installer program generates a launcher script on /bin.

Quote
I don't recall uninstalling libgstreamer-plugins-base. I'm not sure it was ever installed.

libgstreamer 0.10 is not installed on most Linux distros by default. The next version of the PixInsight core application does not have this dependency on deprecated packages (it has many more dependencies, actually, but on modern packages that should be more readily available).
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

astropixel

  • Guest
Re: PI not working in xubuntu since recent updates to 16.04.1 LTS
« Reply #6 on: 2016 November 30 16:01:42 »
Thanks Juan and Thomas.

Just so there is no misunderstanding, PI would 'not' launch via the launcher.

I have installed PI as per instructions many times on my system and always use the launcher.

The reason for using the command line was to read the error output, only. Generally, a quick way to troubleshoot...

I presume that lbgstreamer was removed inadvertently by use of

$sudo apt-get autoremove

removing redundant packages installed for other than a PI dependency.

Because PI is not a .deb package there is no dependency check.

I guess there is a list of dependencies for Linux PI somewhere.
« Last Edit: 2016 December 03 21:58:52 by astropixel »

Offline TimScottz8

  • Newcomer
  • Posts: 12
Re: PI not working in xubuntu since recent updates to 16.04.1 LTS
« Reply #7 on: 2017 January 25 11:15:34 »
I'm on Kubuntu 16.10 and I'm having the same problem.

Snag is I can't find a repo to download the libssl.so.10 from. Is there a way to fix the problem ? Just bought a second hand dual xeon machine to run PixInsight on so did fresh Kubuntu install

Code: [Select]
tim-dell@tim-dell:/opt/PixInsight/bin$ ./PixInsight.sh
/opt/PixInsight/bin/./PixInsight: error while loading shared libraries: libgstapp-0.10.so.0: cannot open shared object file: No such file or directory tim-dell@tim-dell:/opt/PixInsight/bin$                               

Thanks

Tim Scott

Offline copello

  • PTeam Member
  • Newcomer
  • Posts: 31
Re: PI not working in xubuntu since recent updates to 16.04.1 LTS
« Reply #8 on: 2017 January 25 11:30:45 »
Hi Tim,

Have you installed the
Code: [Select]
libgstreamer-plugins-base0.10-0 deb package?

Cheers
 Thomas

Offline TimScottz8

  • Newcomer
  • Posts: 12
Re: PI not working in xubuntu since recent updates to 16.04.1 LTS
« Reply #9 on: 2017 January 26 00:44:20 »
No. The 0.10 version is not available in the standard repositories for Kubuntu 16.10. Only 1.0-0 . I tried installing the 0.1 version by download of the package but it then complained of broken dependencies. Do you have a repo I can add to apt that will allow it's installation ?

Offline copello

  • PTeam Member
  • Newcomer
  • Posts: 31
Re: PI not working in xubuntu since recent updates to 16.04.1 LTS
« Reply #10 on: 2017 January 26 02:11:12 »
I don't know whether these packages will work for 16.04.1 LTS. If I am not mistaken, then
Ubuntu Xenial (16.04) is derived from Debian Stretch (currently Testing). So probably the following could work (this works for Debian Stretch):

Code: [Select]
> mkdir debs && cd debs
> wget http://fr.archive.ubuntu.com/ubuntu/pool/main/g/gst-plugins-base0.10/libgstreamer-plugins-base0.10-0_0.10.36-1_amd64.deb
> wget wget http://fr.archive.ubuntu.com/ubuntu/pool/universe/g/gstreamer0.10/libgstreamer0.10-0_0.10.36-1.5ubuntu1_amd64.deb
> sudo dpkg --install *

Offline TimScottz8

  • Newcomer
  • Posts: 12
Re: PI not working in xubuntu since recent updates to 16.04.1 LTS
« Reply #11 on: 2017 January 29 02:01:27 »
That worked thanks. Just hope the PixInsight soon uses the new packages so I can remove these older ones. Just got to remember to do it !

Offline Pierre

  • Newcomer
  • Posts: 26
Re: PI not working in xubuntu since recent updates to 16.04.1 LTS
« Reply #12 on: 2017 March 04 13:21:26 »
I just had the same problem to a T! Thanks for that solution copello!
Pierre