GRPC - shtool does not exist or is not executable in Ubuntu
Hello guys, in this article, I will show you how to install the google GRPC extension into your server.
When I run the command, it will give me the following error-
[root@server ]# pecl install imagick
downloading imagick-3.4.3.tgz ...
Starting to download imagick-3.4.3.tgz (245,410 bytes)
...................................................done: 245,410 bytes
19 source files, building
running: phpize
Configuring for:
PHP Api Version: 20100412
Zend Module Api No: 20100525
Zend Extension Api No: 220100525
shtool at '/var/tmp/imagick/build/shtool' does not exist or is not executable.
Make sure that the file exists and is executable and then rerun this script.
ERROR: `phpize' failed
[root@server ]#This issue can be resolved by changing the PECL temp_dir to a new path. So let's do:
mkdir /root/tmp
pecl config-set temp_dir /root/tmpSometimes the pecl config-set does not work due to a known bug. Then running the following command will fix your problem.
pear config-set temp_dir /root/tmp
I hope, it will fix your problem.
Connect with KoderSolution 🚀
Master modern software engineering, scalable architectures, and advanced backend systems.
Read more architectural deep-dives, systems tutorials, and engineering guides on kodersolution.com.
Subscribe to @kodersolution for concise, animated system design breakdowns and technical shorts.
Follow our official page for daily development tips, architecture discussions, and community updates.
Henrik Lindqvist
Runs small, hardened Docker containers and Alpine builds. Likes automated backups, Terraform scripts, and keeping server configs reproducible.