Page 1 of 1

zlib not found errors, installing 1.3.2

Posted: 13.02.2005, 21:40
by phobophobic
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

Re: zlib not found errors, installing 1.3.2

Posted: 13.02.2005, 22:10
by t00fri
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

Re: zlib not found errors, installing 1.3.2

Posted: 31.03.2005, 07:09
by Drozoid
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.

Posted: 03.04.2005, 07:10
by Caro
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

Posted: 03.04.2005, 08:50
by Harry
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

Posted: 03.04.2005, 10:24
by t00fri
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

Posted: 03.04.2005, 16:41
by Caro
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

Posted: 03.04.2005, 17:18
by Harry

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

Posted: 03.04.2005, 18:21
by t00fri
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

Posted: 04.04.2005, 06:50
by Caro
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

Posted: 04.04.2005, 21:55
by t00fri
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