Bug 207958 - net-im/ejabberd version 16.02 fails to start
Summary: net-im/ejabberd version 16.02 fails to start
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Ashish SHUKLA
Depends on:
Reported: 2016-03-13 22:33 UTC by gwright
Modified: 2016-03-14 05:39 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (ashish)


Note You need to log in before you can comment on or make changes to this bug.
Description gwright 2016-03-13 22:33:37 UTC
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",

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.
Comment 1 commit-hook freebsd_committer 2016-03-14 05:37:30 UTC
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

  - Remove ZLIB option, doesn't work in practise

  PR:		207958

Comment 2 Ashish SHUKLA freebsd_committer 2016-03-14 05:39:59 UTC
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