zlib_1.2.3.3 not found when running apt-get

Recently I tried to install the latest version of minidlna. I had to install the prerequisite software first. The system suggested doing a “apt-get install -f”. Without reading carefully what it really meant, I executed that command and now apt-get doesn’t even run.

MyBookLive:~# apt-get
apt-get: /usr/lib/libz.so.1: version `ZLIB_1.2.3.3’ not found (required by /usr/lib/powerpc-linux-gnu/libapt-pkg.so.4.12)

MyBookLive:~# ll /usr/lib/libz.so.1
lrwxrwxrwx 1 root root 15 Sep 18 07:00 /usr/lib/libz.so.1 -> libz.so.
MyBookLive:~# ll /usr/lib/libz.so.
-rw-r–r-- 1 root root 86440 Apr 7 2008 /usr/lib/libz.so.

MyBookLive:~# ldconfig -v | grep -i libz
ldconfig: Can’t stat /lib64: No such file or directory
ldconfig: Can’t stat /usr/lib64: No such file or directory
libz.so.1 -> libz.so.

MyBookLive:~# ldd /usr/lib/libz.so.
linux-vdso32.so.1 => (0x00100000)
libc.so.6 => /lib/libc.so.6 (0x6fe20000)
/lib/ld.so.1 (0x207a0000)

How can I fix this problem? Thanks for any suggestions.

Hi, note that this type of modifications are not supported and could void the warranty. Maybe some of the other users can share some advice.