[MacPorts] #21930: erlang-R13B_2 Build fails with undefined symbol _SSL_CTX_set_info_callback in application ssl
#21930: erlang-R13B_2 Build fails with undefined symbol _SSL_CTX_set_info_callback in application ssl -----------------------------------+---------------------------------------- Reporter: harry.weppner@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: erlang -----------------------------------+---------------------------------------- Having trouble building erlang on a PPC 10.5.8. Here's the relevant debug output. Full debug log attached. Thanks, Harry. {{{ === Entering application ssl make[3]: Nothing to be done for `opt'. make[3]: Nothing to be done for `opt'. make -f powerpc-apple-darwin9.8.0/Makefile TYPE=opt /usr/bin/gcc-4.0 -m32 -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work /erlang-R13B02/erts/powerpc-apple-darwin9.8.0 -no-cpp-precomp -I/opt/local/include -o ../priv/bin/powerpc-apple-darwin9.8.0/ssl_esock ../priv/obj/powerpc-apple-darwin9.8.0/esock.o ../priv/obj/powerpc-apple- darwin9.8.0/debuglog.o ../priv/obj/powerpc-apple-darwin9.8.0/esock_poll.o ../priv/obj/powerpc-apple-darwin9.8.0/esock_osio.o ../priv/obj/powerpc- apple-darwin9.8.0/esock_utils.o ../priv/obj/powerpc-apple- darwin9.8.0/esock_posix_str.o ../priv/obj/powerpc-apple- darwin9.8.0/esock_openssl.o -lutil -ldl -lm -L/usr/lib -lssl -lcrypto Undefined symbols: "_SSL_CTX_set_info_callback", referenced from: _set_ssl_parameters in esock_openssl.o ld: symbol(s) not found collect2: ld returned 1 exit status make[4]: *** [../priv/bin/powerpc-apple-darwin9.8.0/ssl_esock] Error 1 make[3]: *** [opt] Error 2 make[2]: *** [opt] Error 2 make[1]: *** [opt] Error 2 make: *** [libs] Error 2 while executing "command_exec build" (procedure "portbuild::build_main" line 9) invoked from within "$procedure $targetname" Warning: the following items did not execute (for erlang): org.macports.archive org.macports.build org.macports.destroot DEBUG: Registry error: perl5 not registered as installed & active. while executing "registry::active $portname" Error: Unable to upgrade port: 1 }}} -- Ticket URL: <http://trac.macports.org/ticket/21930> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21930: erlang-R13B_2 Build fails with undefined symbol _SSL_CTX_set_info_callback in application ssl -----------------------------------+---------------------------------------- Reporter: harry.weppner@… | Owner: bfulgham@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: erlang -----------------------------------+---------------------------------------- Changes (by jmr@…): * owner: macports-tickets@… => bfulgham@… -- Ticket URL: <http://trac.macports.org/ticket/21930#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21930: erlang-R13B_2 Build fails with undefined symbol _SSL_CTX_set_info_callback in application ssl -----------------------------------+---------------------------------------- Reporter: harry.weppner@… | Owner: bfulgham@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: erlang -----------------------------------+---------------------------------------- Comment(by harry.weppner@…): never mind - had a problem with my openssl library. please close the ticket. thanks. -- Ticket URL: <http://trac.macports.org/ticket/21930#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21930: erlang-R13B_2 Build fails with undefined symbol _SSL_CTX_set_info_callback in application ssl ------------------------------------+--------------------------------------- Reporter: harry.weppner@… | Owner: bfulgham@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: invalid | Keywords: Port: erlang | ------------------------------------+--------------------------------------- Changes (by macsforever2000@…): * status: new => closed * resolution: => invalid -- Ticket URL: <http://trac.macports.org/ticket/21930#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21930: erlang-R13B_2 Build fails with undefined symbol _SSL_CTX_set_info_callback in application ssl ------------------------------------+--------------------------------------- Reporter: harry.weppner@… | Owner: bfulgham@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: invalid | Keywords: Port: erlang | ------------------------------------+--------------------------------------- Comment(by alin.popa@…): Replying to [comment:2 harry.weppner@…]:
never mind - had a problem with my openssl library. please close the ticket. thanks.
Hi Harry, Could you please tell me how did you fix it ? I'm having the same issue. Thanks, Alin -- Ticket URL: <http://trac.macports.org/ticket/21930#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21930: erlang-R13B_2 Build fails with undefined symbol _SSL_CTX_set_info_callback in application ssl ------------------------------------+--------------------------------------- Reporter: harry.weppner@… | Owner: bfulgham@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: invalid | Keywords: Port: erlang | ------------------------------------+--------------------------------------- Comment(by harry.weppner@…): I was recovering from a backup and openssl wasn't installed properly so I just re-installed openssl (sudo port install openssl). -- Ticket URL: <http://trac.macports.org/ticket/21930#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21930: erlang-R13B_2 Build fails with undefined symbol _SSL_CTX_set_info_callback in application ssl ------------------------------------+--------------------------------------- Reporter: harry.weppner@… | Owner: bfulgham@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: invalid | Keywords: Port: erlang | ------------------------------------+--------------------------------------- Comment(by alin.popa@…): Replying to [comment:5 harry.weppner@…]:
I was recovering from a backup and openssl wasn't installed properly so I just re-installed openssl (sudo port install openssl).
It seems that your fix doesn't work for me :( Thanks. -- Ticket URL: <http://trac.macports.org/ticket/21930#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21930: erlang-R13B_2 Build fails with undefined symbol _SSL_CTX_set_info_callback in application ssl ------------------------------------+--------------------------------------- Reporter: harry.weppner@… | Owner: bfulgham@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: invalid | Keywords: Port: erlang | ------------------------------------+--------------------------------------- Comment(by alin.popa@…): ok, so I managed to workaround this issue by doing these steps: 1. uninstall openssl 2. install erlang 3. install openssl It seems to me that the openssl here is the problem. -- Ticket URL: <http://trac.macports.org/ticket/21930#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21930: erlang-R13B_2 Build fails with undefined symbol _SSL_CTX_set_info_callback in application ssl ------------------------------------+--------------------------------------- Reporter: harry.weppner@… | Owner: bfulgham@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: invalid | Keywords: Port: erlang | ------------------------------------+--------------------------------------- Comment(by joshgr@…): I'm seeing this problem, and the fix suggested here doesn't work for me (tried uninstalling openssl, which, btw, was NOT A COMFORTABLE THING); same error. Reinstalled openssl; tried downgrading to an older openssl; nothing worked. I'm on intel, so this isn't PPC specific. Still seeing this: {{{ $ sudo port install erlang ... /usr/bin/gcc-4.0 -m32 -O2 -arch i386 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work /erlang-R13B02/erts/i386-apple-darwin9.8.0 -no-cpp-precomp -I/opt/local/include -o ../priv/bin/i386-apple-darwin9.8.0/ssl_esock ../priv/obj/i386-apple-darwin9.8.0/esock.o ../priv/obj/i386-apple- darwin9.8.0/debuglog.o ../priv/obj/i386-apple-darwin9.8.0/esock_poll.o ../priv/obj/i386-apple-darwin9.8.0/esock_osio.o ../priv/obj/i386-apple- darwin9.8.0/esock_utils.o ../priv/obj/i386-apple- darwin9.8.0/esock_posix_str.o ../priv/obj/i386-apple- darwin9.8.0/esock_openssl.o -lutil -ldl -lm -L/usr/lib -lssl -lcrypto Undefined symbols: "_SSL_CTX_set_info_callback", referenced from: _set_ssl_parameters in esock_openssl.o ld: symbol(s) not found }}} -- Ticket URL: <http://trac.macports.org/ticket/21930#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21930: erlang-R13B_2 Build fails with undefined symbol _SSL_CTX_set_info_callback in application ssl ------------------------------------+--------------------------------------- Reporter: harry.weppner@… | Owner: bfulgham@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: invalid | Keywords: Port: erlang | ------------------------------------+--------------------------------------- Comment(by bfulgham@…): This is actually a duplicate of Ticket:21809 -- Ticket URL: <http://trac.macports.org/ticket/21930#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21930: erlang-R13B_2 Build fails with undefined symbol _SSL_CTX_set_info_callback in application ssl ------------------------------------+--------------------------------------- Reporter: harry.weppner@… | Owner: bfulgham@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: invalid | Keywords: Port: erlang | ------------------------------------+--------------------------------------- Comment(by bfulgham@…): Corrected in @r59288. Erlang attempts to use SSL by default, but the SSL path settings are only provided when building with the +ssl option. Correct configuration handling for this reality. Confirmed both +ssl/-ssl on Snow Leopard. Reports are that it works on Leopard. -- Ticket URL: <http://trac.macports.org/ticket/21930#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21930: erlang-R13B_2 Build fails with undefined symbol _SSL_CTX_set_info_callback in application ssl ------------------------------------+--------------------------------------- Reporter: harry.weppner@… | Owner: bfulgham@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: invalid | Keywords: Port: erlang | ------------------------------------+--------------------------------------- Comment(by email@…): Replying to [comment:10 bfulgham@…]:
Corrected in @r59288. Erlang attempts to use SSL by default, but the SSL path settings are only provided when building with the +ssl option. Correct configuration handling for this reality. Confirmed both +ssl/-ssl on Snow Leopard. Reports are that it works on Leopard.
Still broken for me: make[3]: Nothing to be done for `opt'. make[3]: Nothing to be done for `opt'. make -f i386-apple-darwin9.6.0/Makefile TYPE=opt /usr/bin/gcc-4.0 -m32 -O2 -arch i386 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work /erlang-R13B02/erts/i386-apple-darwin9.6.0 -no-cpp-precomp -I/opt/local/include -o ../priv/bin/i386-apple-darwin9.6.0/ssl_esock ../priv/obj/i386-apple-darwin9.6.0/esock.o ../priv/obj/i386-apple- darwin9.6.0/debuglog.o ../priv/obj/i386-apple-darwin9.6.0/esock_poll.o ../priv/obj/i386-apple-darwin9.6.0/esock_osio.o ../priv/obj/i386-apple- darwin9.6.0/esock_utils.o ../priv/obj/i386-apple- darwin9.6.0/esock_posix_str.o ../priv/obj/i386-apple- darwin9.6.0/esock_openssl.o -lutil -ldl -lm -L/usr/lib -lssl -lcrypto Undefined symbols: "_SSL_CTX_set_info_callback", referenced from: _set_ssl_parameters in esock_openssl.o ld: symbol(s) not found collect2: ld returned 1 exit status make[4]: *** [../priv/bin/i386-apple-darwin9.6.0/ssl_esock] Error 1 make[3]: *** [opt] Error 2 make[2]: *** [opt] Error 2 make[1]: *** [opt] Error 2 make: *** [libs] Error 2 -- Ticket URL: <http://trac.macports.org/ticket/21930#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts