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)
Change History (8)
comment:1 follow-up: 2 Changed 17 years ago by nox@…
Cc: | bfulgham@… added |
---|
comment:2 Changed 17 years ago by adfernandes (Andrew Fernandes)
Changed 17 years ago by adfernandes (Andrew Fernandes)
Attachment: | portfile.patch added |
---|
Patches erlang R11-B5 for ssl and odbc
comment:3 Changed 17 years ago by jmroot (Joshua Root)
Cc: | bfulgham@… removed |
---|---|
Owner: | changed from macports-tickets@… to bfulgham@… |
Assigning to maintainer.
comment:4 Changed 16 years ago by dbevans (David B. Evans)
Keywords: | erlang removed |
---|---|
Port: | erlang added |
comment:5 Changed 16 years ago by blb@…
SSL support was added in r31275, can the ODBC variant be added as well?
comment:7 Changed 14 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
ODBC added in r71722.
Note: See
TracTickets for help on using
tickets.
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.