[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#613372: ocsigen: Fails to start (Findlib package lwt.ssl [...] not found)



Le 14/02/2011 13:04, ygrek a écrit :
Freshly installed ocsigen silenty fails to start:

$ sudo aptitude install ocsigen
[...]
$ sudo invoke-rc.d ocsigen force-start
Starting ocsigen: ocsigen.
$ ps faux | grep ocs | grep -v grep
$ sudo tail /var/log/ocsigen/errors.log
2011-02-14 13:06:40 - Fatal - Findlib package lwt.ssl [while trying to load ocsigen.ext.staticmod] not found (Required by `ocsigen.server'): maybe you forgot<findlib path="..."/>?

Installing liblwt-ssl-ocaml-dev and restarting fixes the problem.
Better behaviour for the daemon would be to check configs before forking.

Sorry, it's my fault. Even though lwt.ssl is statically linked into ocsigen, the findlib machinery still needs all findlib packages to be present. The list of built-in packages found in ocsigen_config.ml (which I though was removing the need for a dependency at the Debian package level) is used only to avoid loading the same library twice...

So indeed, there are missing dependencies to liblwt-ssl-ocaml-dev (and also to libocsigen-xhtml-ocaml-dev for that matter).


Cheers,

--
Stéphane



Reply to: