I was installing Nextcloud https://github.com/matiasdelellis/facerecognition face recognition and came across this roadblock where the command pdlib was not found.
1git clone https://github.com/goodspb/pdlib.git 2cd pdlib 3phpize <- This not found! 4./configure --enable-debug
-bash: phpize: command not found
The culprit for this issue is usually because of PHP-dev is not installed, check your PHP version using
php -v mine is php 8.2
1PHP 8.2.11 (cli) (built: Oct 6 2023 10:11:52) (NTS) 2Copyright (c) The PHP Group 3Zend Engine v4.2.11, Copyright (c) Zend Technologies 4 with Zend OPcache v8.2.11, Copyright (c), by Zend Technologies
So I ran
1apt-get update 2apt-get install php8.2-dev
Once that is complete,
phpize should work!
Okay thanks for reading!