Opened 4 years ago
Last modified 3 years ago
#61464 closed defect
php73-gd failed to build on MacOS11 — at Initial Version
Reported by: | andy-yx-chen (Andy Chen) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | bigsur | Cc: | |
Port: | php |
Description
Looks like some c files were missing
Undefined symbols for architecture x86_64:
"_zend_malloc", referenced from:
_fontFetch in gdft.o _php_gd_gdCacheCreate in gdcache.o _php_gd_gdCacheGet in gdcache.o
"convert_to_string", referenced from:
_zif_imagecreatefromstring in gd.o
"ecalloc", referenced from:
php_image_output_ctx in gd.o _php_gd_gdImageCreate in gd.o _php_gd_gdImageCreateTrueColor in gd.o _php_gd_gdImageFill in gd.o _php_gd_gdImageCreateFromGd2Ctx in gd_gd2.o _php_gd_gdImageCreateFromGd2PartCtx in gd_gd2.o gd2GetHeader in gd_gd2.o ...
"efree", referenced from:
_php_free_gd_font in gd.o _zif_imageloadfont in gd.o _zif_imagesetstyle in gd.o php_image_create_from in gd.o php_image_output in gd.o _php_imagepolygon in gd.o _php_imagechar in gd.o ...
"emalloc", referenced from:
_zif_imageloadfont in gd.o _php_gd_gdImageCreate in gd.o _php_gd_gdImageCreateTrueColor in gd.o _php_gd_gdImageFilledPolygon in gd.o _php_gd_gdImageCopyResized in gd.o _php_gd_gdImageSetStyle in gd.o _gdImagePaletteToTrueColor in gd.o ...
"emalloc_1024", referenced from:
_php_gd_gdImageStringFTEx in gdft.o _gdImageBmpCtx in gd_bmp.o
"emalloc_16", referenced from:
gdContributionsCalc in gd_interpolation.o
"emalloc_24", referenced from:
_zif_imageloadfont in gd.o _php_gd_createwbmp in wbmp.o _php_gd_readwbmp in wbmp.o
"emalloc_32", referenced from:
_php_gd_gdNewDynamicCtxEx in gd_io_dp.o _tweenColorFetch in gdft.o
"emalloc_768", referenced from:
_php_gd_gdImageCreateFromPngCtx in gd_png.o
"emalloc_80", referenced from:
_php_gd_gdNewDynamicCtxEx in gd_io_dp.o _php_gd_gdNewFileCtx in gd_io_file.o _php_gd_gdNewSSCtx in gd_io_ss.o
"emalloc_large", referenced from:
_php_gd_gdImageCreateTrueColor in gd.o
"erealloc", referenced from:
_php_gd_gdImageFilledPolygon in gd.o _gdReallocDynamic in gd_io_dp.o _gdImageCreateFromWebpCtx in gd_webp.o _gdImageTrueColorToPaletteBody in gd_topal.o
"estrdup", referenced from:
_fontFetch in gdft.o _php_gd_gdImageXbmCtx in gd_xbm.o
"estrndup", referenced from:
_php_imagechar in gd.o
"php_stream_cast", referenced from:
php_image_create_from in gd.o
"php_stream_copy_to_mem", referenced from:
php_image_create_from in gd.o
"php_stream_eof", referenced from:
_zif_imageloadfont in gd.o
"php_stream_free", referenced from:
_zif_imageloadfont in gd.o php_image_create_from in gd.o php_image_stream_ctxfreeandclose in gd.o
"php_stream_open_wrapper_ex", referenced from:
_zif_imageloadfont in gd.o php_image_create_from in gd.o php_image_output_ctx in gd.o
"php_stream_read", referenced from:
_zif_imageloadfont in gd.o
"php_stream_seek", referenced from:
_zif_imageloadfont in gd.o
"php_stream_tell", referenced from:
_zif_imageloadfont in gd.o
"php_stream_write", referenced from:
php_image_stream_putc in gd.o php_image_stream_putbuf in gd.o
"safe_emalloc", referenced from:
_zif_imagesetstyle in gd.o _php_imagepolygon in gd.o _php_gd_gdImageFill in gd.o gdImageGd2 in gd_gd2.o _php_gd_gdImageCreateFromPngCtx in gd_png.o _php_gd_gdImagePngCtxEx in gd_png.o _php_gd_gdImageJpegCtx in gd_jpeg.o ...
"zend_new_array_0", referenced from:
_zif_gd_info in gd.o _zif_imagecolorsforindex in gd.o _zif_imagegetclip in gd.o _php_imagettftext_common in gd.o _zif_imageaffinematrixget in gd.o _zif_imageaffinematrixconcat in gd.o _zif_imageresolution in gd.o ...
"_add_assoc_bool_ex", referenced from:
_zif_gd_info in gd.o
"_add_assoc_long_ex", referenced from:
_zif_imagecolorsforindex in gd.o
"_add_assoc_string_ex", referenced from:
_zif_gd_info in gd.o
"_add_index_double", referenced from:
_zif_imageaffinematrixget in gd.o _zif_imageaffinematrixconcat in gd.o
"_add_next_index_long", referenced from:
_zif_imagegetclip in gd.o _php_imagettftext_common in gd.o _zif_imageresolution in gd.o
"_ap_php_snprintf", referenced from:
_zm_info_gd in gd.o _php_gd_gdImageJpegCtx in gd_jpeg.o _fontFetch in gdft.o
"_display_ini_entries", referenced from:
_zm_info_gd in gd.o
"_executor_globals", referenced from:
_php_find_gd_font in gd.o
"_php_check_open_basedir", referenced from:
php_image_output in gd.o _php_imagettftext_common in gd.o php_image_convert in gd.o
"_php_error_docref0", referenced from:
_zif_imageloadfont in gd.o _zif_imagesetstyle in gd.o _zif_imagecreatetruecolor in gd.o _zif_imagetruecolortopalette in gd.o _zif_imagecolormatch in gd.o _zif_imagecreate in gd.o _zif_imagecreatefromstring in gd.o ...
"_php_file_le_pstream", referenced from:
php_image_output_ctx in gd.o
"_php_file_le_stream", referenced from:
php_image_output_ctx in gd.o
"_php_info_print_table_end", referenced from:
_zm_info_gd in gd.o
"_php_info_print_table_row", referenced from:
_zm_info_gd in gd.o
"_php_info_print_table_start", referenced from:
_zm_info_gd in gd.o
"_php_open_temporary_file", referenced from:
php_image_output in gd.o
"_php_sig_bmp", referenced from:
_zif_imagecreatefromstring in gd.o
"_php_sig_gif", referenced from:
_zif_imagecreatefromstring in gd.o
"_php_sig_jpg", referenced from:
_zif_imagecreatefromstring in gd.o
"_php_sig_png", referenced from:
_zif_imagecreatefromstring in gd.o
"_php_sig_riff", referenced from:
_zif_imagecreatefromstring in gd.o
"_php_sig_webp", referenced from:
_zif_imagecreatefromstring in gd.o
"_php_stream_stdio_ops", referenced from:
php_image_create_from in gd.o
"_php_verror", referenced from:
_php_gd_error_method in gd.o
"_php_write", referenced from:
php_image_output in gd.o php_image_output_putc in gd.o php_image_output_putbuf in gd.o
"_zend_error", referenced from:
_gdImageCreateFromWebpCtx in gd_webp.o _gdImageWebpCtx in gd_webp.o
"_zend_fetch_resource", referenced from:
_zif_imagesetstyle in gd.o _zif_imageistruecolor in gd.o _zif_imagetruecolortopalette in gd.o _zif_imagepalettetotruecolor in gd.o _zif_imagecolormatch in gd.o _zif_imagesetthickness in gd.o _zif_imagefilledellipse in gd.o ...
"_zend_fetch_resource2_ex", referenced from:
php_image_output_ctx in gd.o
"_zend_hash_index_find", referenced from:
_php_imagepolygon in gd.o _zif_imageconvolution in gd.o _zif_imageaffine in gd.o _zif_imageaffinematrixconcat in gd.o _php_find_gd_font in gd.o
"_zend_hash_str_find", referenced from:
_zif_imagecrop in gd.o _zif_imageaffine in gd.o _zif_imageaffinematrixget in gd.o
"_zend_ini_long", referenced from:
php_image_create_from in gd.o php_image_convert in gd.o
"_zend_list_close", referenced from:
_zif_imagedestroy in gd.o
"_zend_list_insert", referenced from:
_zif_imageloadfont in gd.o
"_zend_parse_arg_long_slow", referenced from:
_zif_imagecolorat in gd.o _zif_imagesetpixel in gd.o
"_zend_parse_parameters", referenced from:
_zif_imageloadfont in gd.o _zif_imagesetstyle in gd.o _zif_imagecreatetruecolor in gd.o _zif_imageistruecolor in gd.o _zif_imagetruecolortopalette in gd.o _zif_imagepalettetotruecolor in gd.o _zif_imagecolormatch in gd.o ...
"_zend_register_ini_entries", referenced from:
_zm_startup_gd in gd.o
"_zend_register_list_destructors_ex", referenced from:
_zm_startup_gd in gd.o
"_zend_register_long_constant", referenced from:
_zm_startup_gd in gd.o
"_zend_register_resource", referenced from:
_zif_imagecreatetruecolor in gd.o _zif_imagerotate in gd.o _zif_imagecreate in gd.o _zif_imagecreatefromstring in gd.o php_image_create_from in gd.o _zif_imagecrop in gd.o _zif_imagecropauto in gd.o ...
"_zend_register_string_constant", referenced from:
_zm_startup_gd in gd.o
"_zend_strndup", referenced from:
php_image_create_from in gd.o
"_zend_vspprintf", referenced from:
_error in gdkanji.o _php_gd_gdCtxPrintf in gd_xbm.o
"_zend_wrong_param_count", referenced from:
_php_imagettftext_common in gd.o _zif_imagefilter in gd.o
"_zend_wrong_parameter_type_error", referenced from:
_zif_imagecolorat in gd.o _zif_imagesetpixel in gd.o
"_zend_wrong_parameters_count_error", referenced from:
_zif_imagecolorat in gd.o _zif_imagesetpixel in gd.o
"_zend_wrong_parameters_none_error", referenced from:
_zif_gd_info in gd.o _zif_imagetypes in gd.o
"_zval_get_double_func", referenced from:
_php_imagettftext_common in gd.o _zif_imageconvolution in gd.o _zif_imageaffine in gd.o _zif_imageaffinematrixget in gd.o _zif_imageaffinematrixconcat in gd.o
"_zval_get_long_func", referenced from:
_zif_imagesetstyle in gd.o _php_imagepolygon in gd.o _zif_imagecrop in gd.o _zif_imageaffine in gd.o
ld: symbol(s) not found for architecture x86_64