Page 1 of 1

linux compile error

Posted: 26.10.2016, 07:48
by rasitabay
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.

Posted: 27.10.2016, 07:44
by John Van Vliet
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

Posted: 27.10.2016, 19:22
by omega13a
I know that in Fedora 22, the patch files in the attached zip file are applied to the source code.

Posted: 24.12.2016, 01:45
by narutoit37
this problem has been fixed yet so

Posted: 26.12.2016, 19:49
by John Van Vliet
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