benjy8001 / php-fpm-opencv

Multistage building of php-fpm docker image with opencv ext
1 stars 1 forks source link

Image PHP7.4 KO #1

Closed benjy8001 closed 3 years ago

benjy8001 commented 3 years ago
╰ docker run -ti --rm php-7.4-fpm-opencv-multi:latest sh
/srv # php -i | grep opencv
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php7/modules/opencv.so' (tried: /usr/lib/php7/modules/opencv.so (Error relocating /usr/lib/php7/modules/opencv.so: add_next_index_zval: symbol not found), /usr/local/lib/php/extensions/no-debug-non-zts-20190902//usr/lib/php7/modules/opencv.so.so (Error loading shared library /usr/local/lib/php/extensions/no-debug-non-zts-20190902//usr/lib/php7/modules/opencv.so.so: No such file or directory)) in Unknown on line 0
/usr/local/etc/php/conf.d/opencv.ini
/srv # 
benjy8001 commented 3 years ago
/opt/php-opencv # ldd /usr/lib/php7/modules/opencv.so
    /lib/ld-musl-x86_64.so.1 (0x7f4f9ec6e000)
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x7f4f9ea8f000)
    libopencv_world.so.4.1 => /usr/local/lib64//libopencv_world.so.4.1 (0x7f4f996ab000)
    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x7f4f99697000)
    libc.musl-x86_64.so.1 => /lib/ld-musl-x86_64.so.1 (0x7f4f9ec6e000)
    libz.so.1 => /lib/libz.so.1 (0x7f4f9967d000)
    libjpeg.so.8 => /usr/lib/libjpeg.so.8 (0x7f4f99603000)
    libpng16.so.16 => /usr/lib/libpng16.so.16 (0x7f4f995d3000)
Error relocating /usr/lib/php7/modules/opencv.so: zend_strpprintf: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: convert_to_double: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: php_info_print_table_start: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: rc_dtor_func: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: zend_object_std_init: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: zend_register_double_constant: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: php_info_print_table_header: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: zend_update_property: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: _zend_new_array_0: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: zend_register_internal_class: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: zend_update_property_long: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: _ecalloc: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: _emalloc: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: object_properties_init: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: zend_declare_property_null: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: zend_register_string_constant: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: zval_get_string_func: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: add_next_index_zval: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: zval_get_long_func: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: zend_parse_parameters_ex: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: _efree: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: add_next_index_long: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: _zend_new_array: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: zend_throw_exception: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: zend_update_property_double: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: zend_register_internal_class_ex: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: zend_declare_class_constant_long: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: object_init_ex: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: zend_parse_parameters: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: zend_call_function: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: php_info_print_table_end: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: add_index_string: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: add_next_index_double: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: zval_ptr_dtor: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: zend_object_std_dtor: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: zend_register_long_constant: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: zend_exception_get_default: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: convert_to_long: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: zend_string_init_interned: symbol not found
Error relocating /usr/lib/php7/modules/opencv.so: std_object_handlers: symbol not found