[Spice-devel] [PATCH] Fix build with LibreSSL

Paweł Pękala pawel at FreeBSD.org
Sun Jan 21 17:33:08 UTC 2018


Hello,
spice-gtk fails to build with LibreSSL:

libtool: link: cc -o /usr/local/ports/deskutils/spice-gtk/work/spice-gtk-0.34/src/tmp-introspectM6aimR/.libs/SpiceClientGLib-2.0 -isystem /usr/local/include -I/usr/local/include -O2 -pipe -march=native -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -Wl,-rpath -Wl,/usr/local/lib -fstack-protector tmp-introspectM6aimR/usr/local/ports/deskutils/spice-gtk/work/spice-gtk-0.34/src/tmp-introspectM6aimR/SpiceClientGLib-2.0.o -Wl,--export-dynamic -pthread -Wl,--export-dynamic  -L/usr/local/lib -L. ./.libs/libspice-client-glib-2.0.so /usr/local/lib/libsasl2.so -lgmodule-2.0 -lgthread-2.0 -lopus -lgio-2.0 -ljpeg -lz -llz4 -lpixman-1 -lcrypto -lssl -lpulse-mainloop-glib -lpulse -lpthread -lgstaudio-1.0 -lgstapp-1.0 -lgstvideo-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lintl -pthread -Wl,-rpath -Wl,/usr/local/lib
./.libs/libspice-client-glib-2.0.so: undefined reference to `BIO_meth_set_read'
./.libs/libspice-client-glib-2.0.so: undefined reference to `BIO_get_data'
./.libs/libspice-client-glib-2.0.so: undefined reference to `BIO_meth_set_write'
./.libs/libspice-client-glib-2.0.so: undefined reference to `BIO_meth_set_ctrl'
./.libs/libspice-client-glib-2.0.so: undefined reference to `BIO_meth_set_puts'
./.libs/libspice-client-glib-2.0.so: undefined reference to `BIO_meth_free'
./.libs/libspice-client-glib-2.0.so: undefined reference to `BIO_meth_new'
./.libs/libspice-client-glib-2.0.so: undefined reference to `BIO_set_init'
./.libs/libspice-client-glib-2.0.so: undefined reference to `EVP_PKEY_get0_RSA'
./.libs/libspice-client-glib-2.0.so: undefined reference to `ASN1_STRING_get0_data'
./.libs/libspice-client-glib-2.0.so: undefined reference to `BIO_get_new_index'
./.libs/libspice-client-glib-2.0.so: undefined reference to `BIO_set_data'
cc: error: linker command failed with exit code 1 (use -v to see invocation)

I don't know if this is supported configuration. Fix is pretty simple so
hopefully can be accepted.

-- 
Pozdrawiam / with regards
Paweł Pękala
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spice-gtk-libressl.patch
Type: text/x-patch
Size: 1156 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20180121/9716ae3c/attachment-0001.bin>


More information about the Spice-devel mailing list