Q. When I type portmanager I get an error that read as follows:
freebsd /libexec/ld-elf.so.1: Shared object "libc.so.6" not found
How do I fix this error?
A. To fix this error you need to install port - /usr/ports/misc/compat6x. This package allows you to install the compat6x libraries on your system, so you can use legacy binaries that depend on them. Type the following command at a shell prompt:
# cd /usr/ports/misc/compat6x
# make install clean
Now you should able to use portmanager command.