We have been fighting to install gettext on a php7 build. But so far what we have concluded: gettext is not installed, and needs to enabled in the .ini file.
I have successfully found the .ini file PHP use, and I have uncommented this line:
However, then I receive the following warning:
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/circleci/php/7.0.2/lib/php/extensions/no-debug-non-zts-20151012/php_gettext.dll' - /opt/circleci/php/7.0.2/lib/php/extensions/no-debug-non-zts-20151012/php_gettext.dll: cannot open shared object file: No such file or directory in Unknown on line 0
What am I doing wrong?
If you look a the php documentation for gettext is says:
To include GNU gettext support in your PHP build you must add the option --with-gettext[=DIR] where DIR is the gettext install directory. However, we install the php7 using the circle.yml:
Any pointers in the right direction will greatly help. We’re stuck.