Package: erlang
Version: 1:11.b.2-4

The crypto module is not working when compiling erlang with gcc 4.1:

[EMAIL PROTECTED]:~/src/ejabberd111/src$ erl
Erlang (BEAM) emulator version 5.5.1 [source] [async-threads:0]
[kernel-poll:false]

Eshell V5.5.1 (abort with ^G)
1> crypto:start().
exec: 1: ok
2> crypto_drv: not found
[.........]

A fix is to add 

-fno-stack-protector

to the CFLAGS as suggested here:
http://forum.trapexit.org/viewtopic.php?t=6630&highlight=cryptodrv

Ubuntu bug report is here:
https://launchpad.net/ubuntu/+source/erlang/+bug/68163

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to