JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for MOONSHOT-DEV Archives


MOONSHOT-DEV Archives

MOONSHOT-DEV Archives


MOONSHOT-DEV@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

MOONSHOT-DEV Home

MOONSHOT-DEV Home

MOONSHOT-DEV  July 2017

MOONSHOT-DEV July 2017

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: Failing to build mech_eap on Mac.

From:

Stefan Paetow <[log in to unmask]>

Date:

Mon, 17 Jul 2017 14:17:10 +0000

Content-Type:

multipart/signed

Parts/Attachments:

Parts/Attachments

text/plain (56 lines) , signature.asc (56 lines)

>> Great! Now sounds like you’re possibly compiling and linking against different versions of OpenSSL.
>> 
>>>> util_shib.cpp:150:28: error: cannot initialize a parameter of type 'const xmltooling::XMLObject *' with an rvalue of type
>>>>    'gss_buffer_desc *' (aka 'gss_buffer_desc_struct *')
>>>>      resolver->addToken(&mechName);
>>> 
>>> Following Luke's message, I've rebuilt shibresolver with GSSAPI support and this goes away. Nearly there... now just getting some undefined symbols errors:
>>> 
>>> Undefined symbols for architecture x86_64:
>>> "_ERR_remove_thread_state", referenced from:
>>>     _tls_deinit in libeap.a(tls_openssl.o)
>>> "_SSL_CTX_clear_extra_chain_certs", referenced from:
>>>     _tls_connection_client_cert in libeap.a(tls_openssl.o)
>>>     _tls_parse_pkcs12 in libeap.a(tls_openssl.o)
>>> "_SSL_cache_hit", referenced from:
>>>     _tls_connection_resumed in libeap.a(tls_openssl.o)
>>> "_SSL_export_keying_material", referenced from:
>>>     _tls_connection_export_key in libeap.a(tls_openssl.o)
>>> ld: symbol(s) not found for architecture x86_64
> 
> Sorry Luke, but I'm still getting this... and this is after I explicitly set OpenSSL directives to point to /usr/lib (where openssl 0.9.8zh that is shipped is installed).

I just re-ran the Makefile in libeap (after explicitly declaring a link to /usr/lib/libcrypto.dylib et al) and got this:

src/crypto/tls_openssl.c:1057:3: warning: implicit declaration of function 'ERR_remove_thread_state' is invalid in C99 [-Wimplicit-function-declaration]
                ERR_remove_thread_state(NULL);
                ^
src/crypto/tls_openssl.c:2368:2: warning: implicit declaration of function 'SSL_CTX_clear_extra_chain_certs' is invalid in C99 [-Wimplicit-function-declaration]
        SSL_CTX_clear_extra_chain_certs(conn->ssl_ctx);
        ^
src/crypto/tls_openssl.c:3192:6: warning: implicit declaration of function 'SSL_export_keying_material' is invalid in C99 [-Wimplicit-function-declaration]
            SSL_export_keying_material(conn->ssl, out, out_len, label,
            ^
src/crypto/tls_openssl.c:3534:16: warning: implicit declaration of function 'SSL_cache_hit' is invalid in C99 [-Wimplicit-function-declaration]
        return conn ? SSL_cache_hit(conn->ssl) : 0;
                      ^
That corresponds to the errors...

And searching further I find that SSL_CTX_clear_extra_chain_certs is an OpenSSL 1.0.0 and later thing, ditto SSL_export_keying_material. So I guess the MacOS version of OpenSSL is ancient enough not to have this... Looks like we'll need to install OpenSSL 1.0.0 or later. :-/

Does that tally?

Stefan Paetow
Moonshot Industry & Research Liaison Coordinator

t: +44 (0)1235 822 125
gpg: 0x3FCE5142
xmpp: [log in to unmask]
skype: stefan.paetow.janet

jisc.ac.uk

Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800.


Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2022
December 2021
October 2021
September 2021
August 2021
June 2021
April 2021
February 2021
January 2021
December 2020
November 2020
October 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
April 2018
February 2018
January 2018
December 2017
November 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
February 2017
January 2017
December 2016
October 2016
September 2016
August 2016
June 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
August 2015
July 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager