No soy capaz de ejecutar la última versión de PixInsight:
$ ./PixInsight.sh
./PixInsight.sh: line 9: 14706 Segmentation fault (core dumped) $dirname/$appname $*
$ LD_LIBRARY_PATH=.:lib ./PixInsight
Segmentation fault (core dumped)
$ LD_LIBRARY_PATH=.:lib strace ./PixInsight
Segmentation fault (core dumped)
Quitando "lib" de LD_LIBRARY_PATH llegamos un poco más lejos:
$ LD_LIBRARY_PATH=. strace ./PixInsight
execve("./PixInsight", ["./PixInsight"], [/* 48 vars */]) = 0
brk(0) = 0xaf28000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb8021000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("./tls/i686/sse2/cmov/liblcms.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./tls/i686/sse2/liblcms.so", O_RDONLY) = -1 ENOENT (No such file or directory)
[...]
stat64("/usr/lib/i486-linux-gnu/cmov", 0xbf83b350) = -1 ENOENT (No such file or directory)
open("/usr/lib/i486-linux-gnu/libssl.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i486-linux-gnu", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
writev(2, [{"./PixInsight"..., 12}, {": "..., 2}, {"error while loading shared librar"..., 36}, {": "..., 2}, {"libssl.so.6"..., 11}, {": "..., 2}, {"cannot open shared object file"..., 30}, {": "..., 2}, {"No such file or directory"..., 25}, {"\n"..., 1}], 10./PixInsight: error while loading shared libraries: libssl.so.6: cannot open shared object file: No such file or directory
) = 123
exit_group(127) = ?
Un error bastante lógico, puesto que libssl.so.6 ya no está a la vista
. Sin embargo estro muestra que, si por incluir "lib" en la variable de entorno, strace ya no muestra absolutamente nada, el error se produce bastante pronto, antes incluso de la llamada a execve(2) (:!:). Cuando ejecuto el segundo de los comandos que he mostrado, el núcleo muestra una mínima información que puede revelar algo:
PixInsight[14818]: segfault at d ip 0078e660 sp bfe9bce0 error 4 in libc-2.8.90.so[778000+16d000]
Si quito libc de enmedio (tanto el objeto como el enlace), me aparece un error de enlazado:
$ ./PixInsight.sh
/home/hue/ll/pixi/runnable/1.4.5/bin/./PixInsight: /lib/libc.so.6: version `GLIBC_2.8' not found (required by /home/hue/ll/pixi/runnable/1.4.5/bin/./lib/libglib-2.0.so.0)
Y quitando libglib ya tira... pero el GUI se muestra durante una fracción de segundo y me quedo con:
$ ./PixInsight.sh
PixInsight Core 01.04.05.0467 (x86)
Copyright (C) 2003-2009 Pleiades Astrophoto
terminate called after throwing an instance of 'pcl::EUnixSegmentationViolation'
./PixInsight.sh: line 9: 15091 Aborted (core dumped) $dirname/$appname $*
Mi sistema es un x86, con libc6-2.7 y núcleo 2.6.27.7.