zlib not found errors, installing 1.3.2

General discussion about Celestia that doesn't fit into other forums.
Topic author
phobophobic
Posts: 2
Joined: 13.02.2005
With us: 19 years 4 months

zlib not found errors, installing 1.3.2

Post #1by phobophobic » 13.02.2005, 21:40

I am attempting to install version 1.3.2 on a system funning Ubuntu Linux (a debian based distro). Running ./configure --with-<Interface> gives Configure Error: zlib not found. I checked, and synaptic says zlib-bin is installed...WTF? Any ideas?

phobophobic

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 3 months
Location: Hamburg, Germany

Re: zlib not found errors, installing 1.3.2

Post #2by t00fri » 13.02.2005, 22:10

phobophobic wrote:I am attempting to install version 1.3.2 on a system funning Ubuntu Linux (a debian based distro). Running ./configure --with-<Interface> gives Configure Error: zlib not found. I checked, and synaptic says zlib-bin is installed...WTF? Any ideas?

phobophobic


You also nead the zlib header files. They are usually in another packagage, zlib-devel or so.

For all libraries that are used in the compilation you must make sure that the corresponding header files are installed!

Bye Fridger

Drozoid
Posts: 1
Joined: 31.03.2005
With us: 19 years 2 months

Re: zlib not found errors, installing 1.3.2

Post #3by Drozoid » 31.03.2005, 07:09

phobophobic wrote:I am attempting to install version 1.3.2 on a system funning Ubuntu Linux (a debian based distro). Running ./configure --with-<Interface> gives Configure Error: zlib not found. I checked, and synaptic says zlib-bin is installed...WTF? Any ideas?

phobophobic


Hi phobophobic,
Have you solved "zlib not found" problem ? If yes please help me ?
Droz.

Caro
Posts: 12
Joined: 03.04.2005
With us: 19 years 2 months
Location: Hamburg, Germany

Post #4by Caro » 03.04.2005, 07:10

Hi folks,

I've got the same problem on a SuSE 9.2 system. The zlib and zlib-devel packages are definitely installed, so the problem is somewhere else. Any answers by now?

Carolin

Harry
Posts: 559
Joined: 05.09.2003
With us: 20 years 9 months
Location: Germany

Post #5by Harry » 03.04.2005, 08:50

Caro wrote:I've got the same problem on a SuSE 9.2 system. The zlib and zlib-devel packages are definitely installed, so the problem is somewhere else. Any answers by now?

This error can be triggered if something else is missing which makes the test for zlib fail. Check config.log for the exact error message of the zlib-test, somewhere near the bottom.

Harald

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 3 months
Location: Hamburg, Germany

Post #6by t00fri » 03.04.2005, 10:24

Carolin,

I agree with Harald, one needs to look at config.log where the error is logged.

I can add that I regularly compile the (CVS) code both with SuSE 9.0 and SuSE 9.1 without any problems. The zlib-version in 9.1 and 9.2 is identical (only the SuSE patch number differs).

Bye Fridger

Caro
Posts: 12
Joined: 03.04.2005
With us: 19 years 2 months
Location: Hamburg, Germany

Post #7by Caro » 03.04.2005, 16:41

Hi Fridger and Harald,

unfortunately I'm not an expert on programming and compiling. I do not understand the logfile for the most part. Can somebody "translate" to me what the logfile wants to tell me?

I uploaded the file at http://www.hs.uni-hamburg.de/DE/Ins/Per/Liefke/config.log

It would be quite long to paste it here and I am not sure which parts are essential.

Thanks so far,
Carolin

Harry
Posts: 559
Joined: 05.09.2003
With us: 20 years 9 months
Location: Germany

Post #8by Harry » 03.04.2005, 17:18


Perfect :)

Apparently the library libXmu is missing, which belongs to the package XFree86-devel (at least on Suse 9.0). But there may be many more packages missing... :(

Harald

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 3 months
Location: Hamburg, Germany

Post #9by t00fri » 03.04.2005, 18:21

Indeed...in the test compile for the presence of the z-library, the libXmu was found missing. Hence the missing libXmu was misinterpreted by the configure script as a missing z-library...

/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: cannot find -lXmu


Probably it's the respective 'devel' package that is actually missing...

So type

cd /usr/X11R6/lib
ls libXmu.*

if libXmu is installed, type

rpm -qf libXmu.*

which tells you the package, in which libXmu.* belongs. Presumably, for SuSE 9.2 this is xorg-x11....If correct, then
you need to install

xorg-x11-devel-6.x.y

Good luck...

Bye Fridger

Caro
Posts: 12
Joined: 03.04.2005
With us: 19 years 2 months
Location: Hamburg, Germany

Post #10by Caro » 04.04.2005, 06:50

Hello Harald and Fridger,

finally I got it!

I read only Harald's post yesterday evening, but I found libXmu in the xorg-x11-devel by myself. After getting similar messages in the next two runs (resolved by installing additional QT libs and some KDE-devel stuff) it worked at last.

This was real learning-by-doing :wink:

Now I can enjoy Celestia also from Linux and not only from Windows, splendid!

Thank you both for your help!!!
Carolin

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 3 months
Location: Hamburg, Germany

Post #11by t00fri » 04.04.2005, 21:55

Caro wrote:Hello Harald and Fridger,

finally I got it!

I read only Harald's post yesterday evening, but I found libXmu in the xorg-x11-devel by myself. After getting similar messages in the next two runs (resolved by installing additional QT libs and some KDE-devel stuff) it worked at last.

This was real learning-by-doing :wink:

Now I can enjoy Celestia also from Linux and not only from Windows, splendid!

Thank you both for your help!!!
Carolin


Happy tp learn that it worked by now. Yet another Celestia working in Hamburg ;-)

Regards from the world's most beautiful town...,

Bye Fridger


Return to “Celestia Users”