Page 1 of 1

Celestia Not Running After Upgrading to Debian 11

Posted: 11.10.2021, 23:19
by myrrh
Hello,

Since upgrading to Debian 11, Celestia no longer works. I followed the instructions[1] to download bionic, but now I'm being told this:

Code: Select all

The following packages have unmet dependencies:
 celestia-glut : Depends: libjpeg8 (>= 8c) but it is not installable
E: Unable to correct problems, you have held broken packages.

However, libjpeg8 doesn't seem to be available anywhere..

Is there anything I can do to get my favorite astronomy program running again?

[1] https://celestia.space/deb.html

Added after 5 hours 28 minutes:
Update:

I downloaded the source from GitHub. During compilation, I got this error:

Code: Select all

[ 60%] Linking CXX shared library libcelestia.so
/usr/bin/ld: /usr/local/lib/libfmt.a(format.cc.o): warning: relocation against `stdout@@GLIBC_2.2.5' in read-only section `.text'
/usr/bin/ld: /usr/local/lib/libfmt.a(format.cc.o): relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make[2]: *** [src/celestia/CMakeFiles/celestia.dir/build.make:521: src/celestia/libcelestia.so.1.7.0] Error 1
make[1]: *** [CMakeFiles/Makefile2:1184: src/celestia/CMakeFiles/celestia.dir/all] Error 2
make: *** [Makefile:149: all] Error 2

I'm completely lost. Please help. Thank you.

Posted: 12.10.2021, 06:55
by chandra

Posted: 12.10.2021, 15:54
by myrrh
Hey chandra! I tried the openSUSE repository... and it worked! I cannot tell you how much I appreciate your help. I'm usually pretty good at solving GNU/Linux problems, but this one had me totally stumped. I tried everything. Thank you so much!

I had no idea openSUSE provided Debian packages. I guess I'm hopelessly behind the times.

Another thing I learned: celestia-qt (the default of the openSUSE package) is MUCH nicer than celestia-glut. I've been using glut for years. No more though.

Once again, thank you so much for your help, my friend. I genuinely appreciate it.

Posted: 12.10.2021, 18:22
by onetwothree
myrrh wrote:I had no idea openSUSE provided Debian packages. I guess I'm hopelessly behind the times.

openSUSE provides a build service which can be used to build packages for different distributions. Actually these packages are provided by our community member munix9.

Posted: 12.10.2021, 21:07
by myrrh
Please express my heartfelt thanks and gratitude to munix9. I've gotten ZERO work done today, thanks to the Celestia package.