[Bug 68163] Re: crypto module not working
Hi, Me too faced the same problem but found the solution. When i tried to install first time, after ./configure CFLAGS="-fno-stack-protector" the following message has been displayed. ** crypto : No usable OpenSSL found jinterface : No Java compiler found odbc : ODBC library - link check failed orber : No C++ compiler found ssh: No usable OpenSSL found ssl: No usable OpenSSL found *** i found openssl development environment is missing which is why "crypto" application is failed to start. then i installed it from ftp://ftp.openssl.org/snapshot/openssl-0.9.7-stable-SNAP-20080428.tar.gz now i reinstalled erlang as follows 1. ./configure CFLAGS="-fno-stack-protector" 2. make 3. make install Happy day... crypto is working my gcc version is 4.2.3gcc (GCC) 4.2.3 (Debian 4.2.3-3) erlang src: otp_src_R12B-2 emulator version : 5.6.2 Thanks & regards M L Narasimham -- crypto module not working https://bugs.launchpad.net/bugs/68163 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 68163] Re: crypto module not working
Note that this has only been fixed in the current development release (Feisty) of Ubuntu. On Fr, 2007-02-09 at 16:43 +, Stemp wrote: > Still the same problem here : crypto_drv: not found > > ** Attachment added: "erl crypto:start()" >http://librarian.launchpad.net/6371783/erl.txt > -- crypto module not working https://launchpad.net/bugs/68163 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 68163] Re: crypto module not working
Still the same problem here : crypto_drv: not found ** Attachment added: "erl crypto:start()" http://librarian.launchpad.net/6371783/erl.txt -- crypto module not working https://launchpad.net/bugs/68163 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 68163] Re: crypto module not working
** Changed in: erlang (Debian) Status: Unknown => Fix Released -- crypto module not working https://launchpad.net/bugs/68163 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 68163] Re: crypto module not working
** Changed in: erlang (Ubuntu) Status: Fix Committed => Fix Released -- crypto module not working https://launchpad.net/bugs/68163 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 68163] Re: crypto module not working
** Bug watch added: Debian Bug tracker #408077 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=408077 ** Also affects: erlang (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=408077 Importance: Unknown Status: Unknown -- crypto module not working https://launchpad.net/bugs/68163 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 68163] Re: crypto module not working
** Changed in: erlang (Ubuntu) Importance: Undecided => Medium Assignee: Martin Jürgens => Raphaël Pinson -- crypto module not working https://launchpad.net/bugs/68163 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 68163] Re: crypto module not working
** Changed in: erlang (Ubuntu) Status: Confirmed => Fix Committed -- crypto module not working https://launchpad.net/bugs/68163 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 68163] Re: crypto module not working
I applied the patch, built the package and tested the functionality. Everything is fine. Uploading. Thank you for your work on this bug Martin. -- crypto module not working https://launchpad.net/bugs/68163 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 68163] Re: crypto module not working
Works fine now: Erlang (BEAM) emulator version 5.5.2 [source] [async-threads:0] [kernel-poll:false] Eshell V5.5.2 (abort with ^G) 1> crypto:start(). ok 2> Could anyone please sponsor the upload to Feisty? -- crypto module not working https://launchpad.net/bugs/68163 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 68163] Re: crypto module not working
I just created a .debdiff for Feisty, which should fix the issue. Currently, I am recompiling erlang, which will take some time (it is huge). I will leave a note if it really fixes the issue. ** Attachment added: "debdiff inside" http://librarian.launchpad.net/5819099/erlang.debdiff -- crypto module not working https://launchpad.net/bugs/68163 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 68163] Re: crypto module not working
This is a bug in erlang and not in ejabberd. ** Changed in: erlang (Ubuntu) Assignee: (unassigned) => Martin Jürgens Status: Unconfirmed => Confirmed ** Changed in: ejabberd (Ubuntu) Status: Confirmed => Rejected -- crypto module not working https://launchpad.net/bugs/68163 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 68163] Re: crypto module not working
I have tried it now and it works. You need to download erlang-base source, add "-fno-stack-protector" into CFLAGS in rules file in debian directory, run dpkg-buildpackage and install erlang-base and erlang-nox which you've build earlier. And ejabberd works like a charm :) -- crypto module not working https://launchpad.net/bugs/68163 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 68163] Re: crypto module not working
Hi, have you tried to add "-fno-stack-protector" to the CFLAGS, as suggested in this thread in the Erlang forum : http://forum.trapexit.org/viewtopic.php?t=6630&highlight=cryptodrv Best Regards, Patrick. -- crypto module not working https://launchpad.net/bugs/68163 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 68163] Re: crypto module not working
Nick Moffitt wrote: > Did you see any results? Will there be a new package in feisty any time > soon? I recompiled it 3 times over the past 48 hours, with different optimisation settings and compilers. Building Erlang with GCC 4.1 always generates this issue, even with optimisations turned off. GCC 4.0 works fine. Unless we can work out what in particular is causing it to fail (and fix it), I'll upload it soon to build using GCC 4.0 instead. -- crypto module not working https://launchpad.net/bugs/68163 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 68163] Re: crypto module not working
Did you see any results? Will there be a new package in feisty any time soon? -- crypto module not working https://launchpad.net/bugs/68163 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 68163] Re: crypto module not working
Ludvig Omholt wrote: > I got it working by recompiling the erlang packages using gcc-4.0 > instead of gcc-4.1 as hinted deep in this thread: In that case, it's probably an issue with optimised optimisations in GCC 4.1... I'll look into it tonight, and hopefully get the package fixed as well. -- crypto module not working https://launchpad.net/bugs/68163 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 68163] Re: crypto module not working
I got it working by recompiling the erlang packages using gcc-4.0 instead of gcc-4.1 as hinted deep in this thread: http://www.erlang.org/pipermail/erlang- questions/2006-November/023840.html $ 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(). ok 2> q(). ok -- crypto module not working https://launchpad.net/bugs/68163 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 68163] Re: crypto module not working
zeank: turns out he didn't have erlang-nox installed. once he grabbed that, everything worked. -- crypto module not working https://launchpad.net/bugs/68163 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 68163] Re: crypto module not working
That said, the friend *was* able to fire up ejabberd and connect with a jabber client. Admittedly it was on powerpc, and I've seen some folks say that things work fine on amd64. This may be an i386-only bug, and I believe my friend is testing on his x86 Unstable box now. -- crypto module not working https://launchpad.net/bugs/68163 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 68163] Re: crypto module not working
Actually this proves only that crypto is broken at debian unstable too. Though in some different way. If it were working you'd see this: [EMAIL PROTECTED]:~$ erl Erlang (BEAM) emulator version 5.4.9 [source] [threads:0] Eshell V5.4.9 (abort with ^G) 1> crypto:start(). ok 2> If you get {undef,[{crypto,start,[]},{erl_eval,do_apply,5},{shell,exprs,6},{shell,eval_loop,3}]} instead, this means that a matching call 'start' within module 'crypto' could not be found. -- crypto module not working https://launchpad.net/bugs/68163 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 68163] Re: crypto module not working
This particular problem doesn't seem to manifest upstream in Debian. I had a friend try this on Debian Unstable: 1> crypto:start(). ** exited: {undef,[{crypto,start,[]}, {erl_eval,do_apply,5}, {shell,exprs,6}, {shell,eval_loop,3}]} ** =ERROR REPORT 15-Dec-2006::23:16:27 === Error in process <0.30.0> with exit value: {undef,[{crypto,start,[]},{erl_eval,do_apply,5},{shell,exprs,6},{shell,eval_loop,3}]} 2> For reference, on my edgy system: [EMAIL PROTECTED](~)] dpkg -S crypto_drv.so erlang-base: /usr/lib/erlang/lib/crypto-1.5/priv/lib/crypto_drv.so And on my friend's Debian Unstable system: erlang-base-hipe: /usr/lib/erlang/lib/crypto-1.5/priv/lib/crypto_drv.so So it is in the same location as Debian's. Why then doesn't it load on Ubuntu? -- crypto module not working https://launchpad.net/bugs/68163 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 68163] Re: crypto module not working
This seems to work fine on the amd64 version of edgy -- crypto module not working https://launchpad.net/bugs/68163 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 68163] Re: crypto module not working
I think this could be the same as a bug I submitted, bug #68933. Can anyone confirm? -- crypto module not working https://launchpad.net/bugs/68163 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 68163] Re: crypto module not working
This makes ejabberd completely unusable, as reported in bug #68801. ** Changed in: ejabberd (Ubuntu) Status: Unconfirmed => Confirmed -- crypto module not working https://launchpad.net/bugs/68163 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 68163] Re: crypto module not working
** Also affects: ejabberd (Ubuntu) Importance: Undecided Status: Unconfirmed -- crypto module not working https://launchpad.net/bugs/68163 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs