freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

install freetype on macbook m1 error


From: address@hidden
Subject: install freetype on macbook m1 error
Date: Mon, 11 Oct 2021 19:52:24 +0800 (GMT+08:00)

Hello ,
Good day.

I’m trying to configure freetype on  MacBook M1, however, I recieved the error 
message. I don’t know how to figure out the problem.could you please give me a 
hand?
When I proceed ‘./configure’, I got  this message :
Library configuration:
 external zlib: yes (pkg-config)
 bzip2:         yes (autoconf test)
 libpng:        yes (pkg-config)
 harfbuzz:      no
 brotli:        no
Then  I try  to make and this time I  got  the error message :
ld: warning: ignoring file /usr/local/Cellar/libpng/1.6.37/lib/libpng16.dylib, 
building for macOS-arm64 but attempting to link with file built for macOS-x86_64
Undefined symbols for architecture arm64:
 "_png_create_info_struct", referenced from:
     _Load_SBit_Png in sfnt.o
 "_png_create_read_struct", referenced from:
     _Load_SBit_Png in sfnt.o
 "_png_destroy_read_struct", referenced from:
     _Load_SBit_Png in sfnt.o
 "_png_error", referenced from:
     _read_data_from_FT_Stream in sfnt.o
 "_png_get_IHDR", referenced from:
     _Load_SBit_Png in sfnt.o
 "_png_get_error_ptr", referenced from:
     _error_callback in sfnt.o
     _read_data_from_FT_Stream in sfnt.o
 "_png_get_io_ptr", referenced from:
     _read_data_from_FT_Stream in sfnt.o
 "_png_get_valid", referenced from:
     _Load_SBit_Png in sfnt.o
 "_png_read_end", referenced from:
     _Load_SBit_Png in sfnt.o
 "_png_read_image", referenced from:
     _Load_SBit_Png in sfnt.o
 "_png_read_info", referenced from:
     _Load_SBit_Png in sfnt.o
 "_png_read_update_info", referenced from:
     _Load_SBit_Png in sfnt.o
 "_png_set_expand_gray_1_2_4_to_8", referenced from:
     _Load_SBit_Png in sfnt.o
 "_png_set_filler", referenced from:
     _Load_SBit_Png in sfnt.o
 "_png_set_gray_to_rgb", referenced from:
     _Load_SBit_Png in sfnt.o
 "_png_set_interlace_handling", referenced from:
     _Load_SBit_Png in sfnt.o
 "_png_set_longjmp_fn", referenced from:
     _Load_SBit_Png in sfnt.o
     _error_callback in sfnt.o
 "_png_set_packing", referenced from:
     _Load_SBit_Png in sfnt.o
 "_png_set_palette_to_rgb", referenced from:
     _Load_SBit_Png in sfnt.o
 "_png_set_read_fn", referenced from:
     _Load_SBit_Png in sfnt.o
 "_png_set_read_user_transform_fn", referenced from:
     _Load_SBit_Png in sfnt.o
 "_png_set_strip_16", referenced from:
     _Load_SBit_Png in sfnt.o
 "_png_set_tRNS_to_alpha", referenced from:
     _Load_SBit_Png in sfnt.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [/Users/qiuyier/Downloads/freetype-2.10.4/objs/libfreetype.la] Error 1


Many Thanks.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]