[MacPorts] #21959: Erlang: Undefined symbol _SSL_CTX_set_info_callback

MacPorts noreply at macports.org
Fri Oct 9 12:17:04 PDT 2009


#21959: Erlang:  Undefined symbol _SSL_CTX_set_info_callback
----------------------------------+-----------------------------------------
 Reporter:  jadenb1729@…          |       Owner:  bfulgham@…           
     Type:  defect                |      Status:  new                  
 Priority:  Normal                |   Milestone:                       
Component:  ports                 |     Version:  1.8.1                
 Keywords:                        |        Port:  erlang               
----------------------------------+-----------------------------------------

Comment(by alin.popa@…):

 Replying to [ticket:21959 jadenb1729@…]:
 > I have a bug very similar to ticket:21930, but note that it is ''not''
 related to the openssl library --I have re-installed that already.
 > {{{
 > --->  Building erlang
 > Error: Target org.macports.build returned: shell command " cd
 "/Users/Shared/Applications/Utilities/MacPorts/var/macports/build/_Users_Shared_Applications_Utilities_MacPorts_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work
 /erlang-R13B02" && /usr/bin/make all " returned error 2
 > Command output: === Entering application syntax_tools
 > make[3]: Nothing to be done for `opt'.
 > make[3]: Nothing to be done for `opt'.
 > make[3]: Nothing to be done for `opt'.
 > === Leaving application syntax_tools
 > === Entering application pman
 > make[3]: Nothing to be done for `opt'.
 > make[3]: Nothing to be done for `opt'.
 > make[3]: Nothing to be done for `opt'.
 > === Leaving application pman
 > === Entering application public_key
 > make[3]: Nothing to be done for `opt'.
 > make[3]: Nothing to be done for `opt'.
 > make[3]: Nothing to be done for `opt'.
 > === Leaving application public_key
 > === Entering application ssl
 > make[3]: Nothing to be done for `opt'.
 > make[3]: Nothing to be done for `opt'.
 > make -f i386-apple-darwin9.8.0/Makefile TYPE=opt
 > /usr/bin/gcc-4.0  -m32 -O2 -arch i386
 -I/Users/Shared/Applications/Utilities/MacPorts/var/macports/build/_Users_Shared_Applications_Utilities_MacPorts_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work
 /erlang-R13B02/erts/i386-apple-darwin9.8.0  -no-cpp-precomp
 -I/Users/Shared/Applications/Utilities/MacPorts/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
 > collect2: ld returned 1 exit status
 > make[4]: *** [../priv/bin/i386-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
 > }}}
 > (Note that it's not just me --alin.popa on the linked bug seems to have
 had the same problem.)

 Here is my output:


 {{{
 sudo port install erlang
 --->  Computing dependencies for erlang
 --->  Fetching erlang
 --->  Verifying checksum(s) for erlang
 --->  Extracting erlang
 --->  Applying patches to erlang
 --->  Configuring erlang
 --->  Building erlang
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work
 /erlang-R13B02" && /usr/bin/make all " returned error 2
 Command output: esock.c: In function 'do_accept':
 esock.c:1625: warning: pointer targets in passing argument 3 of 'accept'
 differ in signedness
 esock.c: In function 'dump_connections':
 esock.c:1719: warning: pointer targets in passing argument 3 of
 'getsockname' differ in signedness
 esock.c:1725: warning: pointer targets in passing argument 3 of
 'getsockname' differ in signedness
 esock.c:1730: warning: pointer targets in passing argument 3 of
 'getpeername' differ in signedness
 /usr/bin/gcc-4.0 -c -o ../priv/obj/i386-apple-darwin9.8.0/debuglog.o -Wall
 -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement
 -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 -DHAVE_CONFIG_H -O2 debuglog.c
 /usr/bin/gcc-4.0 -c -o ../priv/obj/i386-apple-darwin9.8.0/esock_poll.o
 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-
 statement -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 -DHAVE_CONFIG_H -O2 esock_poll.c
 /usr/bin/gcc-4.0 -c -o ../priv/obj/i386-apple-darwin9.8.0/esock_osio.o
 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-
 statement -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 -DHAVE_CONFIG_H -O2 esock_osio.c
 /usr/bin/gcc-4.0 -c -o ../priv/obj/i386-apple-darwin9.8.0/esock_utils.o
 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-
 statement -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 -DHAVE_CONFIG_H -O2 esock_utils.c
 esock_utils.c: In function 'esock_malloc':
 esock_utils.c:38: warning: format '%d' expects type 'int', but argument 3
 has type 'size_t'
 esock_utils.c: In function 'esock_realloc':
 esock_utils.c:50: warning: format '%d' expects type 'int', but argument 3
 has type 'size_t'
 /usr/bin/gcc-4.0 -c -o ../priv/obj/i386-apple-
 darwin9.8.0/esock_posix_str.o -Wall -Wstrict-prototypes -Wmissing-
 prototypes -Wdeclaration-after-statement -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 -DHAVE_CONFIG_H -O2 esock_posix_str.c
 /usr/bin/gcc-4.0 -c -o ../priv/obj/i386-apple-darwin9.8.0/esock_openssl.o
 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-
 statement -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 -DHAVE_CONFIG_H -O2 -I/usr/include esock_openssl.c
 esock_openssl.c: In function 'set_ssl_parameters':
 esock_openssl.c:905: warning: pointer targets in initialization differ in
 signedness
 esock_openssl.c:906: warning: pointer targets in passing argument 1 of
 'strlen' differ in signedness
 /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
 collect2: ld returned 1 exit status
 make[4]: *** [../priv/bin/i386-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

 Error: Status 1 encountered during processing.

 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/21959#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list