#strongswan交叉编译
在./pki的时候报错:
plugin 'aes' failed to load: dlopen failed: cannot locate symbol "memwipe_noinline" referenced by "/data/local/usr/local/lib/ipsec/plugins/libstrongswan-aes.so"...
plugin 'des' failed to load: dlopen failed: cannot locate symbol "memwipe_noinline" referenced by "/data/local/usr/local/lib/ipsec/plugins/libstrongswan-des.so"...
plugin 'sm4' failed to load: dlopen failed: cannot locate symbol "dbg" referenced by "/data/local/usr/local/lib/ipsec/plugins/libstrongswan-sm4.so"...
plugin 'rc2' failed to load: dlopen failed: cannot locate symbol "memxor" referenced by "/data/local/usr/local/lib/ipsec/plugins/libstrongswan-rc2.so"...
plugin 'sha2' failed to load: dlopen failed: cannot locate symbol "chunk_empty" referenced by "/data/local/usr/local/lib/ipsec/plugins/libstrongswan-sha2.so"...
plugin 'mgf1' failed to load: dlopen failed: cannot locate symbol "lib" referenced by "/data/local/usr/local/lib/ipsec/plugins/libstrongswan-mgf1.so"...
plugin 'random' failed to load: dlopen failed: cannot locate symbol "lib" referenced by "/data/local/usr/local/lib/ipsec/plugins/libstrongswan-random.so"...
plugin 'x509' failed to load: dlopen failed: cannot locate symbol "dbg" referenced by "/data/local/usr/local/lib/ipsec/plugins/libstrongswan-x509.so"...
plugin 'revocation' failed to load: dlopen failed: cannot locate symbol "lib" referenced by "/data/local/usr/local/lib/ipsec/plugins/libstrongswan-revocation.so"...
plugin 'pubkey' failed to load: dlopen failed: cannot locate symbol "chunk_empty" referenced by "/data/local/usr/local/lib/ipsec/plugins/libstrongswan-pubkey.so"...
plugin 'pkcs1' failed to load: dlopen failed: cannot locate symbol "lib" referenced by "/data/local/usr/local/lib/ipsec/plugins/libstrongswan-pkcs1.so"...
plugin 'pkcs7' failed to load: dlopen failed: cannot locate symbol "chunk_empty" referenced by "/data/local/usr/local/lib/ipsec/plugins/libstrongswan-pkcs7.so"...
plugin 'pkcs8' failed to load: dlopen failed: cannot locate symbol "chunk_empty" referenced by "/data/local/usr/local/lib/ipsec/plugins/libstrongswan-pkcs8.so"...
plugin 'pkcs12' failed to load: dlopen failed: cannot locate symbol "chunk_empty" referenced by "/data/local/usr/local/lib/ipsec/plugins/libstrongswan-pkcs12.so"...
plugin 'dnskey' failed to load: dlopen failed: cannot locate symbol "lib" referenced by "/data/local/usr/local/lib/ipsec/plugins/libstrongswan-dnskey.so"...
plugin 'sshkey' failed to load: dlopen failed: cannot locate symbol "lib" referenced by "/data/local/usr/local/lib/ipsec/plugins/libstrongswan-sshkey.so"...
plugin 'pem' failed to load: dlopen failed: cannot locate symbol "lib" referenced by "/data/local/usr/local/lib/ipsec/plugins/libstrongswan-pem.so"...
plugin 'openssl' failed to load: dlopen failed: cannot locate symbol "lib" referenced by "/data/local/usr/local/lib/ipsec/plugins/libstrongswan-openssl.so"...
plugin 'gmp' failed to load: dlopen failed: cannot locate symbol "dbg" referenced by "/data/local/usr/local/lib/ipsec/plugins/libstrongswan-gmp.so"...
plugin 'curve25519' failed to load: dlopen failed: cannot locate symbol "lib" referenced by "/data/local/usr/local/lib/ipsec/plugins/libstrongswan-curve25519.so"...
plugin 'hmac' failed to load: dlopen failed: cannot locate symbol "lib" referenced by "/data/local/usr/local/lib/ipsec/plugins/libstrongswan-hmac.so"...
plugin 'drbg' failed to load: dlopen failed: cannot locate symbol "lib" referenced by "/data/local/usr/local/lib/ipsec/plugins/libstrongswan-drbg.so"...
plugin 'sm2' failed to load: dlopen failed: cannot locate symbol "lib" referenced by "/data/local/usr/local/lib/ipsec/plugins/libstrongswan-sm2.so"...
但是这几个插件可以:
strongSwan 5.8.3 PKI tool
loaded plugins: sha1 md5 sm3