Celestia Not Running After Upgrading to Debian 11

Have a question about using Celestia? Check here first for FAQs and helpful advice.
Forum rules
Please help to make this forum more useful by checking the FAQs before posting! Keep it clean, keep it civil, keep it truthful, stay on topic, be responsible, share your knowledge.
Topic author
myrrh
Posts: 3
Joined: 11.10.2021
With us: 3 years 1 month

Celestia Not Running After Upgrading to Debian 11

Post #1by myrrh » 11.10.2021, 23:19

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.


Topic author
myrrh
Posts: 3
Joined: 11.10.2021
With us: 3 years 1 month

Post #3by myrrh » 12.10.2021, 15:54

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.

onetwothree
Site Admin
Posts: 706
Joined: 22.09.2018
With us: 6 years 2 months

Post #4by onetwothree » 12.10.2021, 18:22

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.

Topic author
myrrh
Posts: 3
Joined: 11.10.2021
With us: 3 years 1 month

Post #5by myrrh » 12.10.2021, 21:07

Please express my heartfelt thanks and gratitude to munix9. I've gotten ZERO work done today, thanks to the Celestia package.


Return to “Help Central”