Subject: Re: does libssh2 build for iOS 12.2 (with OpenSSL 1.1.1a or 1.1.1b) and XCode 10.2?

Re: does libssh2 build for iOS 12.2 (with OpenSSL 1.1.1a or 1.1.1b) and XCode 10.2?

From: Jan Ehrhardt <phpdev_at_ehrhardt.nl>
Date: Tue, 14 May 2019 10:23:34 +0200

rollastre_at_gmail.com in
gmane.network.ssh.libssh2.devel (Mon, 13 May 2019 15:11:44 +0200):
>[100%] Linking C shared library ../../lib/libssh2.dylib
>ld: warning: -headerpad_max_install_names is ignored when used with
>-bitcode_bundle (Xcode setting ENABLE_BITCODE=YES)
>Undefined symbols for architecture armv7:
>   "_ENGINE_load_builtin_engines", referenced from:
>       _libssh2_init in global.c.o
>       __libssh2_init_if_needed in global.c.o
>   "_ENGINE_register_all_complete", referenced from:
>       _libssh2_init in global.c.o
>       __libssh2_init_if_needed in global.c.o
>ld: symbol(s) not found for architecture armv7

libssh2 does not need the builtin engines. In a commit to master this
was fixed: https://github.com/libssh2/libssh2/issues/255

It is safe to remove the 2 conflicting lines in 1.8.2:
https://github.com/Jan-E/iSSH2/commit/6b2b61d56fc43642980aacc529c9d9d14263cebf

-- 
Jan
_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2019-05-14