我一直在尝试使用ghc编译Haskell代码(只是为了和Haskell一起玩),但在gcc链接部分时遇到了错误。Linking compileTest .../usr/bin/ld: use the --help option for usage information以下是我的gcc版本:gcc (Ubuntu/Linaro 4.7
问题:/bin/ld: note: 'FT_New_Face' is defined in DSO /lib64/libfreetype.so.6 so try adding it to the linker command line
/lib64/libfreetype.so.6: could not read symbols: Invalid operation
Using 'PKG_CONFIG_PATH' from environment with value: '/opt/poky/3.1.6/sysroots/znver1-poky-linux/usr/lib/pkgconfig:/opt/poky/3.1.6/sysroots/znver1-poky-linux/usr/share/pkgconfig'
The