Rockbox Technical Forums

Installation / Removal => Manual Installation => Apple - Installation/Removal => Topic started by: computerwiz514 on August 30, 2008, 12:09:02 PM

Title: zlib library error
Post by: computerwiz514 on August 30, 2008, 12:09:02 PM
When I try to install rockbox, it says zlib library error and won't install. What does that mean and what do I do?
Title: Re: zlib library error
Post by: AlexP on August 30, 2008, 12:48:02 PM
Details please.

What says that when, what device, ...............
Title: Re: zlib library error
Post by: computerwiz514 on August 30, 2008, 12:56:22 PM
It's an iPod nano 1st generation. It tries to extract a file while installing it and it stops and say zlib library error. I don't know what to do. I am new to rockbox.
Title: Re: zlib library error
Post by: saratoga on August 30, 2008, 01:29:30 PM
Sounds like your zip program is broken.  Try updating it or using another.
Title: Re: zlib library error
Post by: AlexP on August 30, 2008, 01:32:10 PM
It tries to extract a file while installing it and it stops and say zlib library error. I don't know what to do. I am new to rockbox.

What tries to extract a file?

Honestly, I can't see your computer - you need to describe exactly what you are doing.
Title: Re: zlib library error
Post by: computerwiz514 on August 30, 2008, 01:48:10 PM
Rockbox Utility installing rockbox. The rockbox utility also unzips the stuff.
Title: Re: zlib library error
Post by: AlexP on August 30, 2008, 02:34:27 PM
The rockbox utility also unzips the stuff.

I know, but rbutil isn't the only way of installing rockbox, hence the question.

What version of rbutil, did you build it or download it, what OS,......

I'm getting a little tired of asking for details.  Please put down everything you can think of, even if you think it is unnecessary.
Title: Re: zlib library error
Post by: Dieter_be on September 24, 2008, 12:46:10 PM
Hi, I'm having the same problem
 * ipod gen2 ( firewire, not usb, touch wheel, 10GB)
 * ubuntu 8.04.01 64bit
 * gzip version 1.3.12
 * downloaded the 64bit binary: http://download.rockbox.org/rbutil/linux/rbutilqt-v1.0.6-64bit.bz2
 * "About" says: svn rev 17969 (m.1.0.6), built aug 10 2008 21:43:58

Running the 'complete installation'.
I had it the first time I tried, then I tried to flash it again which failed with the same error.  After that I unmounted and tried to boot it nonetheless. It showed the apple logo, lighted up the entire display very brightly and then got stuck, all pixels being black.
Then I attached/mounted it again and tried installation again.  Here is what the "progress" window said:
Quote
Starting bootload installation
Searching for ipods
Downloading file bootloader-ipod1g2g.ipod
->Download finished
->Successfully added Bootloader
Creating installation log
Downloading file rockbox.zip
Cached file used.
->Download finished
Extracting file.
Extracting failed: zlib library error..
Downloading file rockbox-fonts.zip
Cached file used.
->Download finished
Extracting file.
Extracting failed: zlib library error..
At that point the progressbar shows 100 %, and you can click OK.

It would surprise me my unzip tools would be broken.  Maybe a library error?
Code: [Select]
~$ ldd rbutilqt-v1.0.6-64bit
linux-vdso.so.1 =>  (0x00007fffd01fe000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00007f20c7c29000)
libSM.so.6 => /usr/lib/libSM.so.6 (0x00007f20c7a21000)
libICE.so.6 => /usr/lib/libICE.so.6 (0x00007f20c7806000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007f20c75fd000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f20c7380000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007f20c714f000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f20c6f3e000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f20c6c3b000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007f20c6a24000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00007f20c6820000)
librt.so.1 => /lib/librt.so.1 (0x00007f20c6617000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f20c6357000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f20c6153000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f20c5f37000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f20c5c2c000)
libm.so.6 => /lib/libm.so.6 (0x00007f20c59ab000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f20c579d000)
libc.so.6 => /lib/libc.so.6 (0x00007f20c543b000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f20c5217000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f20c5015000)
libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0x00007f20c4e14000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f20c4bf9000)
libselinux.so.1 => /lib/libselinux.so.1 (0x00007f20c49dd000)
/lib64/ld-linux-x86-64.so.2 (0x00007f20c7e4e000)
libpcre.so.3 => /usr/lib/libpcre.so.3 (0x00007f20c47b7000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f20c45b2000)

~$ ls -alh /usr/lib/libz*
-rw-r--r-- 1 root root 119K 2007-11-15 14:12 /usr/lib/libz.a
lrwxrwxrwx 1 root root   18 2008-04-26 18:53 /usr/lib/libzephyr.so.3 -> libzephyr.so.3.0.0
-rw-r--r-- 1 root root  48K 2007-08-02 16:27 /usr/lib/libzephyr.so.3.0.0
lrwxrwxrwx 1 root root   15 2008-06-15 19:24 /usr/lib/libz.so -> libz.so.1.2.3.3
lrwxrwxrwx 1 root root   15 2008-04-26 18:42 /usr/lib/libz.so.1 -> libz.so.1.2.3.3
-rw-r--r-- 1 root root  92K 2007-11-15 14:12 /usr/lib/libz.so.1.2.3.3

~$ dpkg -l | grep zip
ii  bzip2                                      1.0.4-2ubuntu4                                       high-quality block-sorting file compressor -
ii  gzip                                       1.3.12-3.2                                           The GNU compression utility
ii  libmono-sharpzip0.84-cil                   1.2.6+dfsg-6ubuntu3                                  Mono SharpZipLib library
ii  libmono-sharpzip2.84-cil                   1.2.6+dfsg-6ubuntu3                                  Mono SharpZipLib library
ii  unzip                                      5.52-10ubuntu2                                       De-archiver for .zip files
ii  zip                                        2.32-1                                               Archiver for .zip files




UPDATE:
This is silly.. after playing around with tools like strace to find out what the problem could be I wanted to try the manual installation.  Only to find out that the hard disk of the Ipod was full....
After I deleted about 100MB worth of mp3's I didn't get the zlib errors anymore.
However I did get this error in the next step of the installation
Quote
getting themes information ...
The following error occured: unknown error
In the background I see a theme manager but with 2 empty panes.  I'm assuming themes should show up here to select from, but that doesn't work.  Progress is 0%. after clicking OK I'm back at the main menu.

BTW:The ipod still doesn't boot.  The screen lights up brightly, then shows black entirely. I'll try to restore and start over from scratch.
Title: Re: zlib library error
Post by: bluebrother on September 24, 2008, 01:50:26 PM
In the background I see a theme manager but with 2 empty panes.  I'm assuming themes should show up here to select from, but that doesn't work.  Progress is 0%. after clicking OK I'm back at the main menu.
You read the red note on the RockboxUtility wiki page, did you? Theme installation currently doesn't work as the server providing the theme downloads isn't reachable at the old address anymore (and the forwarding that's currently done unfortunately only redirects you to the start page which doesn't work for Rockbox Utility).
An updated version of Rockbox Utility will get released rather soon due to adjustments for Rockbox 3.0. Theme installation won't work for that version too (as I said, due to server issues) but the error message is nicer.
Title: Re: zlib library error
Post by: Dieter_be on September 24, 2008, 03:45:35 PM
I have now, thanks  :)