Author Topic: Unable to start PixInsight on Fedora 23  (Read 5392 times)

Offline karthik1024

  • Newcomer
  • Posts: 2
Unable to start PixInsight on Fedora 23
« on: 2016 January 11 08:43:19 »
Hi,

I recently bought a new computer specifically to run PixInsight. I decided to run linux on the machine and install Fedora 23 Workstation on it. After installation using the linux binaries, the application segfaults when I try to start it. On further investigation using

Code: [Select]
ldd /otp/PixInsight/bin/PixInsight

I found several of the Qt5 libraries missing, so I installed them using yum.

However, there were still two libraries that were missing, which appear to be custom compiled libraries available in the bin folder of the PixInsight installation, since both the standard version of the libraries were already installed according to yum. So, I copied the following two files over to /lib64/

Code: [Select]
libzlib-pxi.so
liblcms-pxi.so

Now, when I run PixInsight, it segfaults immediately with the following message:

Code: [Select]
[karthik@localhost bin]$ ./PixInsight

PixInsight Core 01.08.04.1195 Ripley (x64)
Copyright (c) 2003-2015 Pleiades Astrophoto



PixInsight 01.08.04.1195 - Critical Signal Backtrace
Signal : 11
Module : ./PixInsight() [0x14096ad]
========================================================================================================================
8: /lib64/libpthread.so.0(+0x109f0) [0x7f70309999f0]
7: /lib64/libc.so.6(strlen+0x2a) [0x7f7027ae8b3a](+0x2a [0x7f7027ae8b3a])
6: /lib64/libc.so.6(+0x39229) [0x7f7027a97229]
5: ./PixInsight() [0x5c560a]
4: ./PixInsight() [0x5ced03]
3: ./PixInsight() [0x45deeb]
2: /lib64/libc.so.6(__libc_start_main+0xf0) [0x7f7027a7e580](+0xf0 [0x7f7027a7e580])
1: ./PixInsight() [0x487219]
========================================================================================================================
terminate called after throwing an instance of 'pcl::EUnixSegmentationViolation'
Aborted (core dumped)

Here is the output of
Code: [Select]
uname -a

Linux localhost.localdomain 4.2.8-300.fc23.x86_64 #1 SMP Tue Dec 15 16:49:06 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Any help in getting PixInsight running would be greatly appreciated.

Regards,
Karthik

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: Unable to start PixInsight on Fedora 23
« Reply #1 on: 2016 January 11 11:42:23 »
Fedora 23 is not supported by the current version 1.8.4.1195 of PixInsight. See for example this thread.

Quote
ldd /otp/PixInsight/bin/PixInsight

The PixInsight main executable should never be executed directly. Always use the launcher script, namely PixInsight.sh, on the bin distribution directory. This script sets several environment variables that are crucial for the normal execution of the PixInsight Core application on Linux and FreeBSD.

So the ldd command above won't provide any valid information, mainly because the LD_LIBRARY_PATH variable has not been initialized correctly. Assuming a bash shell, you can try this sequence instead:

$ cd /otp/PixInsight/bin
$ export LD_LIBRARY_PATH=./lib:.
$ ldd PixInsight

Note that everything PixInsight needs is on the bin/lib and bin distribution directories.

Quote
I found several of the Qt5 libraries missing, so I installed them using yum.

This is not guaranteed to work. PixInsight comes with its own set of Qt 5 libraries, which should never be replaced with the same libraries pertaining to a Linux distribution.

Quote
libzlib-pxi.so
liblcms-pxi.so

The same applies here. All -pxi shared objects and libraries are custom versions that cannot be replaced with system files.

We'll try to solve the current problems with Fedora 23 in the next version of PixInsight, but Fedora won't be an officially supported Linux distribution anymore. We officially recommend Red Hat Enterprise Linux 7, or its free variant, CentOS 7. Other distributions known to work without problems are Ubuntu 15.04 and Linux Mint 17.3. Fedora 22 and older also work.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline karthik1024

  • Newcomer
  • Posts: 2
Re: Unable to start PixInsight on Fedora 23
« Reply #2 on: 2016 January 11 21:57:57 »
I tried to run via the launcher on Fedora 23 and it didn't work and complained of some missing shared library. I then installed CentOS 7 as you recommended and everything works as expected. Thanks for your help!

Karthik

Offline tango13

  • Newcomer
  • Posts: 5
Re: Unable to start PixInsight on Fedora 23
« Reply #3 on: 2016 January 13 05:31:37 »
Hi all,

I have exactly the same problem, I just upgraded to Fedora 23 just to find out that PixInsight doesn't work anymore  :sad:
Sad to understand also that Fedora won't be a supported platform in the future.
I'll try to set up a virtual machine with one of the supported distros and see what happens.

Thanks.
Piero

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: Unable to start PixInsight on Fedora 23
« Reply #4 on: 2016 January 14 01:02:51 »
I have good news: The next version of PixInsight will run fine on Fedora 23.

There was a small incompatibility with the latest version 2.22 of glibc in our code base. Once this has been resolved, the application runs without problems on Fedora 23, and hopefully in future versions of Fedora.

Improving PixInsight's Linux support is always a maximum priority for us, since the Linux version of PixInsight is our reference implementation. We are constantly making efforts to solve all issues reported on different Linux distributions. Problems with new Fedora releases tend to be more problematic because of the bleeding edge nature of this distro. Hopefully we'll be in sync from now on.

A new version will be released in a couple of weeks, probably before the end of January.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline tango13

  • Newcomer
  • Posts: 5
Re: Unable to start PixInsight on Fedora 23
« Reply #5 on: 2016 January 14 03:28:10 »
This sounds just great!!!  :smiley:
Thanks Juan!

Piero

Offline rleisenz

  • Newcomer
  • Posts: 26
  • In the sun we remember, in the planets we forget
Re: Unable to start PixInsight on Fedora 23
« Reply #6 on: 2016 January 14 05:12:52 »
This sounds just great!!!  :smiley:
Thanks Juan!

Piero

Holla Juan,

will this also apply for FreeBSD installations?

Robert
G11/Gemini2 on pier; 8"f4 Newton; ED80;80/480 APO; EOS1000Da; ALCCD9m; QHY6pro; ALCCD5LII-M;

Offline Pedro_Borja

  • Newcomer
  • Posts: 2
Re: Unable to start PixInsight on Fedora 23
« Reply #7 on: 2016 February 18 02:37:04 »
Hello Juan.
Any news on this new version of Pixinsight that will support Fedora 23?
Thank you!

Pedro

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: Unable to start PixInsight on Fedora 23
« Reply #8 on: 2016 February 18 07:31:56 »
Hi Pedro, Robert, Piero et al,

I have just released version 1.8.4.1197 for Linux, which is 100% compatible with Fedora 23 / glibc 2.22 and the latest KDE Plasma 5. The installation archives for 1.8.4.1197 are now available on software distribution.

Please note that on an out-of-the-box Fedora 23 installation you have to install the gstreamer-plugins-base package in order to run PixInsight:

# dnf install gstreamer-plugins-base

other than this everything should work perfectly.

Thank you for your patience.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Pedro_Borja

  • Newcomer
  • Posts: 2
Re: Unable to start PixInsight on Fedora 23
« Reply #9 on: 2016 February 18 11:42:31 »
It works!

Thank you Juan

P.

Offline rleisenz

  • Newcomer
  • Posts: 26
  • In the sun we remember, in the planets we forget
Re: Unable to start PixInsight on Fedora 23
« Reply #10 on: 2016 March 07 01:33:26 »
Hi Pedro, Robert, Piero et al,

I have just released version 1.8.4.1197 for Linux, which is 100% compatible with Fedora 23 / glibc 2.22 and the latest KDE Plasma 5. The installation archives for 1.8.4.1197 are now available on software distribution.

Please note that on an out-of-the-box Fedora 23 installation you have to install the gstreamer-plugins-base package in order to run PixInsight:

# dnf install gstreamer-plugins-base

other than this everything should work perfectly.

Thank you for your patience.

Great work Juan. Runs fast on a PCBSD 10.2 machine.

Thank you.

Robert
G11/Gemini2 on pier; 8"f4 Newton; ED80;80/480 APO; EOS1000Da; ALCCD9m; QHY6pro; ALCCD5LII-M;

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: Unable to start PixInsight on Fedora 23
« Reply #11 on: 2016 March 11 00:52:31 »
Thank you Robert!
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline dougggg

  • Newcomer
  • Posts: 18
Re: Unable to start PixInsight on Fedora 23
« Reply #12 on: 2016 November 15 04:50:01 »
Just installed PixInsight 1.8.4.1198 on a fresh install of Ubuntu Linux 16.04.1 on a Dell laptop. When executing PixInsight.sh a shared library was missing: libgstapp-0.10.so.0. The fix was:

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

Doug