Version 16.02 of ejabberd fails to start if built with the default configuration. The error on startup (from /var/log/ejabberd/error.log) is 2016-03-13 18:00:35.393 [critical] <0.37.0>@ejabberd:exit_or_halt:133 failed to start application 'ezlib': {error, {"no such file or directory", "ezlib.app"}} The workaround I found was to deinstall then reinstall with the configuration option "zlib compression support" enabled. Ejabberd then started correctly. It appears that a dependency on compression has slipped in. I have not had a chance to look at it more closely.
A commit references this bug: Author: ashish Date: Mon Mar 14 05:37:05 UTC 2016 New revision: 411045 URL: https://svnweb.freebsd.org/changeset/ports/411045 Log: - Remove ZLIB option, doesn't work in practise PR: 207958 Changes: head/net-im/ejabberd/Makefile head/net-im/ejabberd/pkg-plist
I have committed a fix. This should hopefully resolve the problem. It seems like the option ZLIB is not quite optional as it seems[1]. Thanks for your report. [1] https://github.com/processone/ejabberd/blob/master/src/ejabberd_app.erl#L259