Author Topic: kubuntu 16.04: error while loading shared libraries  (Read 2710 times)

Offline bafrog

  • Newcomer
  • Posts: 5
kubuntu 16.04: error while loading shared libraries
« on: 2016 July 17 12:22:31 »
I previously used a very dusty version 12.04 of Xubuntu which did not work with PI anymore (since 01.08.04.1198) due to the old glibc version.
So I decided to renew my aged system and go for the latest LTS of Kubuntu 16.04 using PI-linux-x86_64-01.08.04.1198-20160221.

But now I get an error message about a missing library when starting PI via command line
(as the KDE launcher would do):
martin@castor:/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


The installation beforehand seemed to work well:
martin@castor:~/software$ sudo ./installer
[sudo] password for martin:

-------------------------------------------------------------------------------
PixInsight X11 UNIX/Linux installer version 01.08.04.1198 Ripley
Copyright (C) 2003-2016 Pleiades Astrophoto. All Rights Reserved
-------------------------------------------------------------------------------

PixInsight will be installed with the following parameters:

Source installation directory ... /home/martin/software/PixInsight
PixInsight Core application ..... /opt/PixInsight
Application desktop entry ....... /usr/share/applications/PixInsight.desktop
Application icons directory ..... /usr/share/icons/hicolor
MIME type description file ...... /usr/share/mime/packages/PixInsight.xml
Create /bin launcher script ..... yes
Remove previous installation .... yes

==> Are you sure [yes|no] ? yes

Please wait while PixInsight is being installed...

* Previous PixInsight installation removed.

* PixInsight installation completed.

martin@castor:~/software$


For information:
$ uname -a
Linux castor 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux



Does anybody have an idea what I could be doing wrong? Is there really a library missing or is it just that LD_LIBRARY_PATH is pointing the wrong ways during startup?
I hope the destination folders during installation were correct - I just did not change them. Or is there a specific need for my distro maybe?

I would be very grateful for any help or hint
Martin




Offline Alejandro Tombolini

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1267
    • Próxima Sur
Re: kubuntu 16.04: error while loading shared libraries
« Reply #1 on: 2016 July 17 12:59:12 »
Hi Martin, only to add some information, I've tested with Kubuntu 14.04 and launch well from the console.
Saludos, Alejandro

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: kubuntu 16.04: error while loading shared libraries
« Reply #2 on: 2016 July 17 23:52:46 »
Your system lacks required dependencies. Try with the following:

sudo apt-get install libgstreamer-plugins-base

This should solve your issue on Ubuntu.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline TomWoodrow

  • Newcomer
  • Posts: 4
Re: kubuntu 16.04: error while loading shared libraries
« Reply #3 on: 2016 July 24 18:12:28 »
For info, on Ubuntu 16.04 I tried the command:

sudo apt-get install libgstreamer-plugins-base

which returned:

Unable to locate package libgstreamer-plugins-base

The command:

sudo apt-get install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev  libfreeimage3 libc6:i386

worked and allowed Pixinsight to run.

cheers,
Tom

Offline bafrog

  • Newcomer
  • Posts: 5
Re: kubuntu 16.04: error while loading shared libraries
« Reply #4 on: 2016 August 06 15:21:04 »
Thanks Juan, Tom and Alejandro,

sorry for replying so late - I was busy with job and family. You solved my issue: more precisely finally it was Tom's hint that solved the issue: I just had to install one library which then automatically installed it's dependencies including  most of the other libraries that Tom had on it's command (I did not need libfreeimage3):

sudo apt-get install libgstreamer-plugins-base0.10-dev

I found that on my system version 1.0 of the library was initially installed. Now both are installed - 0.10 and 1.0 - hope it will not cause any interference.
PI runs as usual however.

Martin