linux compile error

General discussion about Celestia that doesn't fit into other forums.
Topic author
rasitabay
Posts: 1
Joined: 26.10.2016
With us: 8 years

linux compile error

Post #1by rasitabay » 26.10.2016, 07:48

Hi all,

I receive such a warning when configuring.

/usr/bin/ld: ../celengine/libcelengine.a(libcelengine_a-glext.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libdl.so: error adding symbols: DSO missing from command line

I think there is a problem with DL_LIBS = -ldl which is not used in compliling section of the makefile. I tried to solve it but stuck here. The reason why I want to complie is I want to use celestia for low level spaceflight dynamics and control library that I am working on.

Thanks in advance.

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

Post #2by John Van Vliet » 27.10.2016, 07:44

the current code DOSE NOT build with the current autotools

however the QT4 celesta.pro works just fine using qmake

also WHAT os are you using ?
Cent 7 ?
cent6 ?
fedora 24 ?
Mint 17 ?
suse 12
opensuse 42.1 ?

and WHAT version of the source are you using ?
the svn on sourceforge is the last

and what version of gcc is default
gcc4.2 and up do not work

there is also a autotools and gcc deprecated issue
libm.so is NOT being inherited in a few makefiles
this is do to gcc being too new


i have moved a copy from svn over to my github account and have only made MINOR fixes so far

and have NOT yet fixed the libpng 12 issue
libpng16 tosses an error

Avatar
omega13a M
Posts: 120
Joined: 15.10.2011
Age: 40
With us: 13 years 1 month
Location: California
Contact:

Post #3by omega13a » 27.10.2016, 19:22

I know that in Fedora 22, the patch files in the attached zip file are applied to the source code.
Attachments
celestia_patches.zip
(6.58 KiB) Downloaded 187 times
A fish without a bicycle cannot contemplate his navel

My Celestia Add-ons
The Omega Galaxy

narutoit37
Posts: 2
Joined: 24.12.2016
With us: 7 years 10 months

Post #4by narutoit37 » 24.12.2016, 01:45

this problem has been fixed yet so

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

Post #5by John Van Vliet » 26.12.2016, 19:49

for now use the qt4 *.pro

i have a splash image for qt in my git repo
https://github.com/JohnVV/Celestia-SPICE.linux

so far just the two things fixed


Return to “Celestia Users”