[99s-extend] Can't start syslog when built with erlang.mk

Loïc Hoguin essen at ninenines.eu
Mon Aug 24 20:18:27 CEST 2015


On 08/24/2015 08:15 PM, Brandon Clark wrote:
> Greetings...
>
> I'm finding that I can't start syslog when it is built as a dependency
> of my erlang.mk <http://erlang.mk> project.  For example:
>
> $ erl -pa _rel/${MY_PROJECT}/lib/*/ebin
> Erlang/OTP 18 [erts-7.0] [source] [64-bit] [async-threads:10] [hipe]
> [kernel-poll:false]
>
> Eshell V7.0  (abort with ^G)
> 1> syslog:start().
> {error,"could not load driver syslog_drv: \"cannot open shared object
> file: No such file or directory\""}
>
>
> The root of the problem seems to be that erlang.mk <http://erlang.mk>
> compiled syslog_drv.c as "syslog.so" and syslog expects to load
> "syslog_drv.so".  I have confirmed that renaming the file solves the
> problem.
>
> What do I do with that?

Open a ticket and this will be fixed, probably just need to handle a 
case we don't do yet. :-)

Cheers,

-- 
Loïc Hoguin
http://ninenines.eu
Author of The Erlanger Playbook,
A book about software development using Erlang


More information about the Extend mailing list