Author Topic: PixInsight doesn't start on Debian sid and Ubuntu 8.04  (Read 4689 times)

Offline David Serrano

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 503
PixInsight doesn't start on Debian sid and Ubuntu 8.04
« on: 2008 September 08 12:06:51 »
Hi there,

The file PixInsight-core seems to have an unmatched dependency on libldap-2.3.so.0 and liblber-2.3.so.0. Those files don't exist on Debian unstable or Ubuntu 8.04 (Hardy) since they've been replaced by the newer versions libldap-2.4.so.0 and liblber-2.4.so.0. Apparently, older versions aren't available:

Code: [Select]
$ apt-cache search libldap
libldap-2.4-2 - OpenLDAP libraries
libldap-2.4-2-dbg - Debugging information for OpenLDAP libraries
libldap-ocaml-dev - LDAP bindings for OCaml
libldap-ruby1.8 - OpenLDAP library binding for Ruby 1.8
libldap2-dev - OpenLDAP development libraries


Now, this is the point of the post where I would suggest some solution or workaround but I must admit that I'm without ideas. If this LDAP thingy were a normal library, it would be called libldap.so.2.3 and PixInsight could depend on merely libldap.so.2 (as is normal in the rest of the world), but breaking compatibility between minor versions sounds like a quite rude thing to me (note that I'm blaming the LDAP guys, not the Pleiades ones!).

I wouldn't advise to have PixInsight depend on 2.4, since some other distros (Gentoo, for one) may not be up to date. OTOH, this is probably a moot point, since I must be the only g33x0r using PixInsight in Gentoo! :twisted:.

Are these dependencies really required?

[Edit: moved from PixInsight to Bug reports]
--
 David Serrano

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
PixInsight doesn't start on Debian sid and Ubuntu 8.04
« Reply #1 on: 2008 September 15 15:08:13 »
Hi David,

Quote
Are these dependencies really required?


Actually, they shouldn't. The use of LDAP in PixInsight is unintentional and must come from the curl library. However the core application doesn't make use of lightweight directory access, at least not directly. The same is true for the LBER library, which is part of LDAP.

I'll investigate where this dependency on LDAP is coming from, and I'll try to remove it.

Thank you for the information -and sorry for not being able to run on your Hardy!
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
PixInsight doesn't start on Debian sid and Ubuntu 8.04
« Reply #2 on: 2008 November 11 02:51:15 »
Hi David and the Ubuntu gang,

I have good news: PixInsight 1.3 has no dependencies on LDAP/LBER, so I see no reason why 1.3 shouldn't run fine on your Ubuntu boxes.

David, I'll publish a 1.3 prerelease of 1.3 for PTeam members later today or early tomorrow, so stay tuned ;)

Thanks for your patience!
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline David Serrano

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 503
PixInsight doesn't start on Debian sid and Ubuntu 8.04
« Reply #3 on: 2008 November 14 00:26:59 »
Hmm... that version scheme confuses me ("1.00" for Linux but "1.03" for win?). In any case, x86 doesn't seem to be covered in this prerelease, so I'll happily wait for the real thing.
--
 David Serrano

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
PixInsight doesn't start on Debian sid and Ubuntu 8.04
« Reply #4 on: 2008 November 19 13:33:41 »
Hi David,

Did you try PI 1.3 on Ubuntu? Does it work "out of the box" now?
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline David Serrano

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 503
PixInsight doesn't start on Debian sid and Ubuntu 8.04
« Reply #5 on: 2008 November 20 02:01:49 »
Ubuntu es para las niñas, hombre xD.

Sí que lo bajé, descomprimí y ejecuté ayer sin problemas, en la Debian. Intentaré preparar los paquetes .deb y .rpm pronto pero no puedo prometer nada dado que, entre el crío y la mudanza (de Madrid a Alcalá de Henares) no voy a tener tiempo libre hasta...
--
 David Serrano