[strongSwan] Charon-xpc build "success"

Nicolas Fitton NF at post-quantum.com
Tue Jul 11 11:22:08 CEST 2017


Hi All
When trying to build charon-xpc for use in the Mac OS X app, I get the following error
00[LIB] plugin 'openssl' failed to load: dlopen(/usr/local/lib/ipsec/plugins/libstrongswan-openssl.so, 130): Symbol not found: _enumerator_enumerate_default
00[LIB]   Referenced from: /usr/local/lib/ipsec/plugins/libstrongswan-openssl.so
00[LIB]   Expected in: flat namespace
00[LIB]  in /usr/local/lib/ipsec/plugins/libstrongswan-openssl.so
2017-07-11 09:42:45.007847+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB] plugin 'openssl' failed to load: dlopen(/usr/local/lib/ipsec/plugins/libstrongswan-openssl.so, 130): Symbol not found: _enumerator_enumerate_default
2017-07-11 09:42:45.008211+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB]   Referenced from: /usr/local/lib/ipsec/plugins/libstrongswan-openssl.so
2017-07-11 09:42:45.008251+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB]   Expected in: flat namespace
2017-07-11 09:42:45.008295+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB]  in /usr/local/lib/ipsec/plugins/libstrongswan-openssl.so
00[LIB] plugin 'kernel-pfroute' failed to load: dlopen(/usr/local/lib/ipsec/plugins/libstrongswan-kernel-pfroute.so, 130): Symbol not found: _enumerator_enumerate_default
00[LIB]   Referenced from: /usr/local/lib/ipsec/plugins/libstrongswan-kernel-pfroute.so
00[LIB]   Expected in: flat namespace
00[LIB]  in /usr/local/lib/ipsec/plugins/libstrongswan-kernel-pfroute.so
2017-07-11 09:42:45.025248+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB] plugin 'kernel-pfroute' failed to load: dlopen(/usr/local/lib/ipsec/plugins/libstrongswan-kernel-pfroute.so, 130): Symbol not found: _enumerator_enumerate_default
2017-07-11 09:42:45.025357+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB]   Referenced from: /usr/local/lib/ipsec/plugins/libstrongswan-kernel-pfroute.so
2017-07-11 09:42:45.025412+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB]   Expected in: flat namespace
2017-07-11 09:42:45.025464+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB]  in /usr/local/lib/ipsec/plugins/libstrongswan-kernel-pfroute.so
00[LIB] plugin 'socket-default' failed to load: dlopen(/usr/local/lib/ipsec/plugins/libstrongswan-socket-default.so, 130): Symbol not found: _socket_register
00[LIB]   Referenced from: /usr/local/lib/ipsec/plugins/libstrongswan-socket-default.so
00[LIB]   Expected in: flat namespace
00[LIB]  in /usr/local/lib/ipsec/plugins/libstrongswan-socket-default.so
2017-07-11 09:42:45.031303+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB] plugin 'socket-default' failed to load: dlopen(/usr/local/lib/ipsec/plugins/libstrongswan-socket-default.so, 130): Symbol not found: _socket_register
2017-07-11 09:42:45.031461+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB]   Referenced from: /usr/local/lib/ipsec/plugins/libstrongswan-socket-default.so
2017-07-11 09:42:45.031551+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB]   Expected in: flat namespace
2017-07-11 09:42:45.031697+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB]  in /usr/local/lib/ipsec/plugins/libstrongswan-socket-default.so
00[LIB] plugin 'eap-identity' failed to load: dlopen(/usr/local/lib/ipsec/plugins/libstrongswan-eap-identity.so, 130): Symbol not found: _eap_method_register
00[LIB]   Referenced from: /usr/local/lib/ipsec/plugins/libstrongswan-eap-identity.so
00[LIB]   Expected in: flat namespace
00[LIB]  in /usr/local/lib/ipsec/plugins/libstrongswan-eap-identity.so
2017-07-11 09:42:45.045480+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB] plugin 'eap-identity' failed to load: dlopen(/usr/local/lib/ipsec/plugins/libstrongswan-eap-identity.so, 130): Symbol not found: _eap_method_register
2017-07-11 09:42:45.045691+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB]   Referenced from: /usr/local/lib/ipsec/plugins/libstrongswan-eap-identity.so
2017-07-11 09:42:45.045847+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB]   Expected in: flat namespace
2017-07-11 09:42:45.045973+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB]  in /usr/local/lib/ipsec/plugins/libstrongswan-eap-identity.so
00[LIB] plugin 'eap-mschapv2' failed to load: dlopen(/usr/local/lib/ipsec/plugins/libstrongswan-eap-mschapv2.so, 130): Symbol not found: _eap_method_register
00[LIB]   Referenced from: /usr/local/lib/ipsec/plugins/libstrongswan-eap-mschapv2.so
00[LIB]   Expected in: flat namespace
00[LIB]  in /usr/local/lib/ipsec/plugins/libstrongswan-eap-mschapv2.so
2017-07-11 09:42:45.061739+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB] plugin 'eap-mschapv2' failed to load: dlopen(/usr/local/lib/ipsec/plugins/libstrongswan-eap-mschapv2.so, 130): Symbol not found: _eap_method_register
2017-07-11 09:42:45.061845+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB]   Referenced from: /usr/local/lib/ipsec/plugins/libstrongswan-eap-mschapv2.so
2017-07-11 09:42:45.061902+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB]   Expected in: flat namespace
2017-07-11 09:42:45.061951+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB]  in /usr/local/lib/ipsec/plugins/libstrongswan-eap-mschapv2.so
00[LIB] plugin 'eap-md5' failed to load: dlopen(/usr/local/lib/ipsec/plugins/libstrongswan-eap-md5.so, 130): Symbol not found: _eap_method_register
00[LIB]   Referenced from: /usr/local/lib/ipsec/plugins/libstrongswan-eap-md5.so
00[LIB]   Expected in: flat namespace
00[LIB]  in /usr/local/lib/ipsec/plugins/libstrongswan-eap-md5.so
2017-07-11 09:42:45.072877+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB] plugin 'eap-md5' failed to load: dlopen(/usr/local/lib/ipsec/plugins/libstrongswan-eap-md5.so, 130): Symbol not found: _eap_method_register
2017-07-11 09:42:45.073090+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB]   Referenced from: /usr/local/lib/ipsec/plugins/libstrongswan-eap-md5.so
2017-07-11 09:42:45.073160+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB]   Expected in: flat namespace
2017-07-11 09:42:45.073264+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB]  in /usr/local/lib/ipsec/plugins/libstrongswan-eap-md5.so
00[LIB] plugin 'xauth-generic' failed to load: dlopen(/usr/local/lib/ipsec/plugins/libstrongswan-xauth-generic.so, 130): Symbol not found: _xauth_method_register
00[LIB]   Referenced from: /usr/local/lib/ipsec/plugins/libstrongswan-xauth-generic.so
00[LIB]   Expected in: flat namespace
00[LIB]  in /usr/local/lib/ipsec/plugins/libstrongswan-xauth-generic.so
2017-07-11 09:42:45.117884+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB] plugin 'xauth-generic' failed to load: dlopen(/usr/local/lib/ipsec/plugins/libstrongswan-xauth-generic.so, 130): Symbol not found: _xauth_method_register
2017-07-11 09:42:45.118058+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB]   Referenced from: /usr/local/lib/ipsec/plugins/libstrongswan-xauth-generic.so
2017-07-11 09:42:45.118123+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB]   Expected in: flat namespace
2017-07-11 09:42:45.118268+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB]  in /usr/local/lib/ipsec/plugins/libstrongswan-xauth-generic.so
00[LIB] plugin 'osx-attr' failed to load: dlopen(/usr/local/lib/ipsec/plugins/libstrongswan-osx-attr.so, 130): Symbol not found: _enumerator_enumerate_default
00[LIB]   Referenced from: /usr/local/lib/ipsec/plugins/libstrongswan-osx-attr.so
00[LIB]   Expected in: flat namespace
00[LIB]  in /usr/local/lib/ipsec/plugins/libstrongswan-osx-attr.so
2017-07-11 09:42:45.126407+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB] plugin 'osx-attr' failed to load: dlopen(/usr/local/lib/ipsec/plugins/libstrongswan-osx-attr.so, 130): Symbol not found: _enumerator_enumerate_default
2017-07-11 09:42:45.126578+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB]   Referenced from: /usr/local/lib/ipsec/plugins/libstrongswan-osx-attr.so
2017-07-11 09:42:45.126639+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB]   Expected in: flat namespace
2017-07-11 09:42:45.126798+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB]  in /usr/local/lib/ipsec/plugins/libstrongswan-osx-attr.so
00[LIB] feature CUSTOM:libcharon-sa-managers in critical plugin 'charon-xpc' has unmet dependency: HASHER:HASH_SHA1
2017-07-11 09:42:45.127071+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB] feature CUSTOM:libcharon-sa-managers in critical plugin 'charon-xpc' has unmet dependency: HASHER:HASH_SHA1
00[LIB] feature CUSTOM:libcharon in critical plugin 'charon-xpc' has unmet dependency: CUSTOM:libcharon-sa-managers
2017-07-11 09:42:45.127199+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB] feature CUSTOM:libcharon in critical plugin 'charon-xpc' has unmet dependency: CUSTOM:libcharon-sa-managers
00[LIB] feature CUSTOM:libcharon-receiver in critical plugin 'charon-xpc' has unmet dependency: HASHER:HASH_SHA1
2017-07-11 09:42:45.127443+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB] feature CUSTOM:libcharon-receiver in critical plugin 'charon-xpc' has unmet dependency: HASHER:HASH_SHA1
00[LIB] failed to load 3 critical plugin features
2017-07-11 09:42:45.127775+0100 net.postquantum.strongswan.charon-xpc[44425:429203] 00[LIB] failed to load 3 critical plugin features
Program ended with exit code: 66

Why does Xcode report build successful if it exits with this code and this error chain occurs? Any ideas on alleviating said errors?
Kind regards
Nicholas Fitton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20170711/0da56d2c/attachment-0001.html>


More information about the Users mailing list