New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #12649 (closed defect: fixed)

Opened 6 years ago

Last modified 3 years ago

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

portfile.patch (968 bytes) - added by andrew@… 6 years ago.
Patches erlang R11-B5 for ssl and odbc

Change History

comment:1 follow-up: ↓ 2 Changed 6 years ago by nox@…

  • Cc bfulgham@… added

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@…

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.

comment:4 Changed 5 years ago by devans@…

  • Keywords erlang removed
  • Port set to erlang

comment:5 Changed 4 years ago by blb@…

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

comment:6 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

comment:7 Changed 3 years ago by jmr@…

  • Status changed from new to closed
  • Resolution set to fixed

ODBC added in r71722.

Note: See TracTickets for help on using tickets.