build errors in kdelibs4support: openssl 1.0 vs. 1.1

Luigi Toscano luigi.toscano at tiscali.it
Sun May 7 10:46:07 UTC 2017


Milian Wolff ha scritto:
> Hey all,
> 
> ArchLinux recently updated openssl to 1.1, I now have:
> 
> /usr/include/openssl <- 1.1
> /usr/include/openssl-1.0/openssl <- 1.0
> 
> kdelibs4support finds the former and then fails to compile with e.g.:
> 
> [...]
> 
> Just adding a 1.0 version to the find_package does not fix this. I need to 
> manually change OPENSSL_INCLUDE_DIR and set it to /usr/include/openssl-1.0 to 
> compile this.
> 
> How can we fix this properly and transparently for Arch users and users of 
> other distros for the future?

I think most distributions handled this already; I know that Fedora and Debian
compiles kdelibs4support (just like Qt) with openssl1.0 (build dependency on
its headers), while the main version is 1.1.


Ciao
-- 
Luigi




More information about the Kde-buildsystem mailing list