gsoap has optional SSL and Cookie support, and installs different libraries: libgsoap for no extras, libgsoapck for cookie support, libgsoapssl for SSL.
No extra library for Cookie AND SSL support.
Now, according to 'pkg-config --cflags gsoapssl' the libgsoapssl should contain the cookie module, but doesn't.
The optional zlib and DOM support is however available in the gsoapssl libraries.
Steps to Reproduce:
1. emerge gsoap
2. pkg-config --cflags gsoapssl ; notice "WITH_COOKIES" in output
3. link against gsoapssl, notice cookie support is missing.
libgsoapssl and libgsoapssl++ don't have cookie support.
Either fix pkg-config and provide a fourth variant, libgsoapsslck(dom)(zlib)(++) or fix the Makefile and enable -DWITH_COOKIES for the SSL Library.
The fix is actually quite easy:
in gsoap/Makefile.am change
to include -DWITH_COOKIES
This is fixed in 2.8.24. See: https://sourceforge.net/p/gsoap2/code/85/tree//gsoap/Makefile.am?diff=51af4d3f5fcbc945b53d89a4:84
PR submitted to backport the fix to 2.7 series: https://github.com/gentoo/gentoo/pull/535
commit 7897074 (HEAD, origin/master, origin/HEAD, master)
Merge: 6b1b51d 67a035a
Author: Patrice Clement <firstname.lastname@example.org>
Date: Mon Dec 28 09:59:03 2015 +0000
Merge remote-tracking branch 'github/pr/535'.