[erlang-questions] R15B changes erl_driver API

Zabrane Mickael zabrane3@REDACTED
Fri Dec 16 08:30:03 CET 2011


Hi Andrew,

Works now ... may thanks.
I've also copied the package author.

Regards,
Zabrane

On Dec 16, 2011, at 7:39 AM, Andrew Tunnell-Jones wrote:

> On Fri, Dec 16, 2011 at 5:32 AM, Zabrane Mickael <zabrane3@REDACTED> wrote:
>> 
>> After installing R15B (OSX 10.6.8), this module no longer works for me:
>> https://github.com/alexeyr/erlang-sqlite3
>> 
>> I got the following error:
>> [...]
>> SUPERVISOR REPORT==== 15-Dec-2011::19:27:52 ===
>>      Supervisor: {local,reactiv_sup}
>>      Context:    start_error
>>      Reason:     {{badmatch,{error,"Error loading sqlite3_drv_darwin_64:
>> Driver compiled with incorrect version of erl_driver.h"}},
>> 
>> The driver seems to include the MAJOR/MINOR markers:
>> https://github.com/alexeyr/erlang-sqlite3/blob/master/c_src/sqlite3_drv.c
>> 
>> Any Help?
>> 
> 
> Line 27 should have ERL_DRV_EXTENDED_MINOR_VERSION in place of
> ERL_DRV_EXTENDED_MAJOR_VERSION.
> 
> — Andrew





More information about the erlang-questions mailing list