undefined reference to 'gdImagecreatefromjpeg'
原因:这是在装gd前没有先装jpeg,png等或是先装gd后装的jpeg,png等造成的
解决办法:
在安装jpeg,png等后再装一遍gd即可。
转载于:https://blog.51cto.com/yangzhiming/840999
转载于:https://blog.51cto.com/yangzhiming/840999