Erlang/OTP Forums

Author Message

<  Open Telecom Platform (OTP)  ~  error in starting crypto application

Mina Gerges
Posted: Wed Jul 09, 2008 10:57 am Reply with quote
Joined: 05 Jul 2008 Posts: 3 Location: Egypt
120>application:start(crypto).
{error,{shutdown,{crypto_app,start,[normal,[]]}}}

=INFO REPORT==== 9-Jul-2008::13:45:52 ===
application: crypto
exited: {shutdown,{crypto_app,start,[normal,[]]}}
type: temporary
View user's profile Send private message Send e-mail
Mazen
Posted: Wed Jul 09, 2008 11:11 am Reply with quote
User Joined: 20 Jul 2006 Posts: 164 Location: London
Hmm.. did your crypto compile properly when you compiled erlang?

try an ldd on the crypto driver

#> ldd <erlangpath>/lib/crypto-X/priv/lib/crypto_drv.so

where erlangpath is where you installed erlang and X is the version of crypto.

you should see something like:


Code:

magenta:~ # ldd /usr/local/lib/erlang/lib/crypto-1.5/priv/lib/crypto_drv.so
        linux-gate.so.1 =>  (0xffffe000)
        libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb7ea5000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7e89000)
        libc.so.6 => /lib/libc.so.6 (0xb7d69000)
        /lib/ld-linux.so.2 (0x80000000)


Maybe that will give you a hint... It might be some more simple problem but this is what comes to my mind...
View user's profile Send private message
wolfgke
Posted: Mon Aug 11, 2008 8:44 pm Reply with quote
User Joined: 16 Sep 2007 Posts: 16
I also get this error:

I'm using Windows XP SP3, Erlang 5.6.3.

EDIT:
My solution: install OpenSSL.
View user's profile Send private message
matpalm
Posted: Thu Nov 20, 2008 10:23 am Reply with quote
Joined: 23 Feb 2008 Posts: 5
i had a slightly different problem where all calls to anything crypto related was failing; crypto, ssh, ssh_sftp were all being ignored in erl like the module just didnt exist.

Mazen's hint above gave me the idea to check my openssl and though i _thought_ i had it installed i didnt have the dev headers supplied, on ubuntu, by package libssl-dev.

a rebuild and it's all good!

i post this here only in the chance it might help another!
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum