gsoap package has some libs with static symbols
Hi,
I'm trying to build the kopano-core software in an APKBUILD (manually transformed from the PKGBUILD from the AUR), but it seems linking fails with a problem in libgsoapssl++.a, because it has some static symbols:
/usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../lib/libgsoapssl++.a(libgsoapssl___a-stdsoap2_ssl_cpp.o): relocation R_X86_64_PC32 against symbol `soap_base64o' can not be used when making a shared object; recompile with -fPIP
I already added -fPIC and -fPIE to the CFLAGS and CPPFLAGS in the gsoap package and rebuilt it, but that didn't help. -fPIC and -fPIE in the CFLAGS and CPPFLAGS of the APKBUILD of kopano-core didn't help either.