FreeBSD : ld-elf.so.1 Shared object libz.so.6 not found, required by “wget”

By | November 24, 2011

Get this error running “wget” on FreeBSD 8.2?

/libexec/ld-elf.so.1: Shared object “libz.so.6” not found, required by “wget”

Simply go to the library directory and create a symbolic link like this to get it working :

cd /usr/lib/
ln -s libz.so libz.so.6