PHP-Facedetect: PHP Startup: Unable to load dynamic library !
Whenever I try to restart apache now I get the following error:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20131226/facedetect.so' - /usr/lib/php5/20131226/facedetect.so: undefined symbol: cvLoadImage in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20131226/facedetect.so' - /usr/lib/php5/20131226/facedetect.so: undefined symbol: cvLoadImage in Unknown on line 0
AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2e configured -- resuming normal operations
An ofcourse it won’t work since it wasn’t loaded !! Any clue what went wrong ?
PHP Version 5.6.17 OpenCV Verison 3.1.0
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 15 (3 by maintainers)
yes https://src.fedoraproject.org/cgit/rpms/php-facedetect.git/tree/php-facedetect-pkgconfig.patch
I found the fix , https://pkgs.fedoraproject.org/cgit/rpms/opencv.git/commit/?id=8332955846ff0d567d346b23248561b37eb855f2
we can’t compile opencv with -Wl,–as-needed , because seems that clean cvLoadImage symbol …
Update this is not the correct fix