I had to rename getpeername to getsockname (and remove the symlink getsockname) as this package did conflict with tcputils.