Author Topic: Linux library problem (minor - and I have a easy workaround)  (Read 3061 times)

Offline Cheyenne

  • PixInsight Addict
  • ***
  • Posts: 146
    • Link to Picasa gallery of my astronomy photos
Running on a gentoo linux distribution at a current level.

One of the supplied libraries (libkrb5support) in PixInsignt/bin/lib calls out the library libselinux  which may not be installed on all systems as selinux is used for a hardened environments.

Anyway... I was quickly able to work around the problem by simply not pointing LD_LIBRARY_PATH to the bin/lib directory and let PixInsight use the system libraries.  While this might cause an issue down the line in terms of library compatibility, PixInsight does seem to be working just fine.

I implemented my workaround by simply modifying the supplied PixInsight.sh script and altering the assignment to LD_LIBRARY_PATH to:

LD_LIBRARY_PATH=$dirname

As I said in the subject line, this was (is?) a minor issue.  I have a work around, but felt that listing the problem might help someone else if they run into the same problem.

Cheyenne Wills
Takahashi 130 TOA
Losmandy G11
SBIG STF8300M
Canon 20Da
SBIG ST-i + openPHD for autoguiding

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: Linux library problem (minor - and I have a easy workaround)
« Reply #1 on: 2009 June 11 14:48:58 »
Hi Cheyenne,

Welcome to PixInsight Forum!

Thanks for pointing this out. If PI runs, there will be no problem with libraries loaded from your system instead of bin/lib. In fact, bin/lib is provided mainly to work around some compatibility problems with old distributions.

The selinux dependency is unwanted; PI shouldn't depend on it. I'll try to replace libkrb5 with a version that doesn't depend on selinux.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/