linux compile error

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

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/ 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.

John Van Vliet
Posts: 2749
Joined: 28.08.2002
With us: 18 years 1 month

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

the current code DOSE NOT build with the current autotools

however the QT4 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 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

omega13a M
Posts: 120
Joined: 15.10.2011
Age: 36
With us: 9 years
Location: California

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.
(6.58 KiB) Downloaded 70 times
A fish without a bicycle cannot contemplate his navel

My Celestia Add-ons
The Omega Galaxy

Posts: 2
Joined: 24.12.2016
With us: 3 years 10 months

Post #4by narutoit37 » 24.12.2016, 01:45

this problem has been fixed yet so

John Van Vliet
Posts: 2749
Joined: 28.08.2002
With us: 18 years 1 month

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

so far just the two things fixed

Return to “Celestia Users”

Who is online