<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi guys,<div><br></div><div>After installing R15B (OSX 10.6.8), this module no longer works for me:</div><div><a href="https://github.com/alexeyr/erlang-sqlite3">https://github.com/alexeyr/erlang-sqlite3</a></div><div><br></div><div>I got the following error:</div><div>[...]</div><div><div>SUPERVISOR REPORT==== 15-Dec-2011::19:27:52 ===</div><div> Supervisor: {local,reactiv_sup}</div><div> Context: start_error</div><div> Reason: {{badmatch,{error,"Error loading sqlite3_drv_darwin_64: Driver compiled with incorrect version of erl_driver.h"}},</div><div><br></div><div>The driver seems to include the MAJOR/MINOR markers:</div><div><a href="https://github.com/alexeyr/erlang-sqlite3/blob/master/c_src/sqlite3_drv.c">https://github.com/alexeyr/erlang-sqlite3/blob/master/c_src/sqlite3_drv.c</a></div><div><br></div><div>Any Help?</div><div><div><br></div><div>Regards,</div><div>Zabrane</div></div><div><br></div><div><div>On Dec 15, 2011, at 6:38 PM, Kenneth Lundin wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><p><br>
Den 15 dec 2011 16:45 skrev "Sergei Golovan" <<a href="mailto:sgolovan@gmail.com">sgolovan@gmail.com</a>>:<br>
><br>
> Hi!<br>
><br>
> Appears that erl_driver API has been changed in R15B. The following<br>
> change in erts/emulator/beam/erl_bif_ddll.c (R15B with respect to<br>
> R14B04)<br>
><br>
This should be no surprise since it is clearly mentioned in the release highlights and in the Readme file. It is also in the documentation, but as you point out there might be some remaining issues there, thanks for that.<br>
The change imicrotonal and will stay like this. We thought it was better to require the use of version number in drivers so that we can detect old drivers and refuse loading them, rather than just trying to run which might result in strange errors later during runtime.</p><p>> ----</p><p>...<br>
/Kenneth, Erlang/OTP Ericsson</p>
_______________________________________________<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>http://erlang.org/mailman/listinfo/erlang-questions<br></blockquote></div><br><div>
<div><br></div>
</div>
<br></div></body></html>