宝塔安装日志显示错误信息如下:
configure: error: Package requirements (freetype2) were not met:
No package 'freetype2' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables FREETYPE2_CFLAGS
and FREETYPE2_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.
解决方法如下:
通过命令行方式安装软件包就可以解决了,命令如下
apt install libfreetype-dev libfreetype6-dev