Opened 17 years ago

Closed 14 years ago

#12649 closed defect (fixed)

Cannot start SSL application in Erlang

Reported by: dconnelly@… Owned by: bfulgham@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: ssl Cc:
Port: erlang

Description

Erlang was compiled with variant +smp. Starting the ssl application produces the following error:

nomad:~ dac$ erl
Erlang (BEAM) emulator version 5.5.5 [source] [async-threads:0] [hipe] [kernel-poll:false]

Eshell V5.5.5  (abort with ^G)
1> ssl:start().
sh: line 1: /opt/local/lib/erlang/lib/ssl-3.1.1.1/priv/bin/ssl_esock: No such file or directory
sh: line 1: exec: /opt/local/lib/erlang/lib/ssl-3.1.1.1/priv/bin/ssl_esock: cannot execute: No such file or directory
{error,{shutdown,{ssl_app,start,[normal,[]]}}}
=INFO REPORT==== 8-Sep-2007::04:19:13 ===
    application: ssl
    exited: {shutdown,{ssl_app,start,[normal,[]]}}
    type: temporary

It looks like ssl_esock is somehow not getting built in MacPorts although it is in the standard OTP source kit.

Thanks, David

Attachments (1)

portfile.patch (968 bytes) - added by adfernandes (Andrew Fernandes) 16 years ago.
Patches erlang R11-B5 for ssl and odbc

Download all attachments as: .zip

Change History (8)

comment:1 Changed 17 years ago by nox@…

Cc: bfulgham@… added

comment:2 in reply to:  1 Changed 16 years ago by adfernandes (Andrew Fernandes)

Replying to nox@macports.org: This was a PAIN IN THE REAR END to track down. I had the same problem, trying to run ejabberd.

It turns out that the erlang configure/build system silently fails on subsystem builds if things don't link. ARGH!

Attached is a patch to the current (R11-B5) build of erlang that gives you two variants: odbc and ssl. I built and tested with the +ssl +smp +odbc variants.

Changed 16 years ago by adfernandes (Andrew Fernandes)

Attachment: portfile.patch added

Patches erlang R11-B5 for ssl and odbc

comment:3 Changed 16 years ago by jmroot (Joshua Root)

Cc: bfulgham@… removed
Owner: changed from macports-tickets@… to bfulgham@…

Assigning to maintainer.

comment:4 Changed 15 years ago by dbevans (David B. Evans)

Keywords: erlang removed
Port: erlang added

comment:5 Changed 15 years ago by blb@…

SSL support was added in r31275, can the ODBC variant be added as well?

comment:6 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:7 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

ODBC added in r71722.

Note: See TracTickets for help on using tickets.