Ticket #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
Change History
comment:2 in reply to: ↑ 1 Changed 6 years ago by andrew@…
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 6 years ago by andrew@…
- Attachment portfile.patch added
Patches erlang R11-B5 for ssl and odbc
comment:3 Changed 5 years ago by jmr@…
- Owner changed from macports-tickets@… to bfulgham@…
- Cc bfulgham@… removed
Assigning to maintainer.
Note: See
TracTickets for help on using
tickets.

