PHP :: Request #73509 :: static extension compilation problem
[2016-11-13 01:37 UTC] johnyduck at clovermail dot net
Description: ------------ Make gnupg-1.4.0.tgz extract into /php_sources/ext/gnupg and then try to ./configure --prefix=/usr/local/php7013 --enable-fpm --with-fpm-user=lighttpd2 --with-fpm-group=lighttpd2 --enable-bcmath --with-gnupg Actual result: -------------- /usr/bin/ld: ext/gnupg/gnupg_keylistiterator.o: undefined reference to symbol 'gpg_strerror' /usr/bin/ld: note: 'gpg_strerror' is defined in DSO /lib64/libgpg-error.so.0 so try adding it to the linker command line /lib64/libgpg-error.so.0: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status make: *** [sapi/cli/php] Error 1