[Spice-devel] issues linking with openssl 1.1.0

i iordanov iiordanov at gmail.com
Wed Jan 16 23:44:46 UTC 2019


Hello,

Happy new year!

I tried to build spice-gtk 0.34 and 0.35 with OpenSSL 1.1.0, and I got some
linking errors:

jni/src/../libs/deps/x86/root/lib/libspice-client-glib-2.0.a(spice-channel.o):spice-channel.c:function
spice_channel_class_intern_init: error: undefined reference to
'SSL_library_init'
jni/src/../libs/deps/x86/root/lib/libspice-client-glib-2.0.a(spice-channel.o):spice-channel.c:function
spice_channel_class_intern_init: error: undefined reference to
'SSL_load_error_strings'
jni/src/../libs/deps/x86/root/lib/libspice-client-glib-2.0.a(spice-channel.o):spice-channel.c:function
spice_channel_coroutine: error: undefined reference to 'SSLv23_method'
jni/src/../libs/deps/x86/root/lib/libspice-client-glib-2.0.a(spice-channel.o):spice-channel.c:function
spice_channel_coroutine: error: undefined reference to 'sk_value'
jni/src/../libs/deps/x86/root/lib/libspice-client-glib-2.0.a(spice-channel.o):spice-channel.c:function
spice_channel_coroutine: error: undefined reference to 'sk_num'
jni/src/../libs/deps/x86/root/lib/libspice-client-glib-2.0.a(spice-channel.o):spice-channel.c:function
spice_channel_coroutine: error: undefined reference to 'sk_pop_free'
jni/src/../libs/deps/x86/root/lib/libspice-client-glib-2.0.a(ssl_verify.o):ssl_verify.c:function
openssl_verify: error: undefined reference to 'sk_num'
jni/src/../libs/deps/x86/root/lib/libspice-client-glib-2.0.a(ssl_verify.o):ssl_verify.c:function
openssl_verify: error: undefined reference to 'sk_value'
clang++: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [obj/local/x86/libspice.so] Error 1

I had to revert to 1.0.2, but wanted to ask - is there a plan to support
1.1.0/1.1.1?

Thanks!
iordan

-- 
The conscious mind has only one thread of execution.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20190116/64035585/attachment.html>


More information about the Spice-devel mailing list