当前位置: 技术问答>linux和unix
安装fontconfig出现错误
来源: 互联网 发布时间:2016-10-30
本文导语: gcc -I/usr/local/glib/include -I/usr/include/freetype -I/usr/local/freetype/include -I/usr/local/libxml2/include/libxml2/libxml /usr/local/glib/lib -o .libs/fc-cache fc-cache.o -L/root/fontconfig-2.5.0/fc-cache -L/usr/local/libxml2/lib/ -L/usr/local/freetype/lib /usr/lib...
gcc -I/usr/local/glib/include -I/usr/include/freetype -I/usr/local/freetype/include -I/usr/local/libxml2/include/libxml2/libxml /usr/local/glib/lib -o .libs/fc-cache fc-cache.o -L/root/fontconfig-2.5.0/fc-cache -L/usr/local/libxml2/lib/ -L/usr/local/freetype/lib /usr/lib/libexpat.so ../src/.libs/libfontconfig.so -Wl,--rpath -Wl,/usr/local/fontconfig/lib
/usr/local/glib/lib: file not recognized: Is a directory
collect2: ld returned 1 exit status
make[2]: *** [fc-cache] Error 1
make[2]: Leaving directory `/root/fontconfig-2.5.0/fc-cache'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/fontconfig-2.5.0'
make: *** [all] Error 2
可以configure,但make就会出现上边的错误!make install还能生成lib,include目录。
无论是用2.3.2还是用2,5。0的版本都会出现上边的错误!都弄二天了,一直不行!请大家帮帮忙!
/usr/local/glib/lib: file not recognized: Is a directory
collect2: ld returned 1 exit status
make[2]: *** [fc-cache] Error 1
make[2]: Leaving directory `/root/fontconfig-2.5.0/fc-cache'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/fontconfig-2.5.0'
make: *** [all] Error 2
可以configure,但make就会出现上边的错误!make install还能生成lib,include目录。
无论是用2.3.2还是用2,5。0的版本都会出现上边的错误!都弄二天了,一直不行!请大家帮帮忙!
|
collect2: ld returned 1 exit status
ld不成功,应该是连接lib时有误
问题应该再这里:
/usr/local/glib/lib: file not recognized: Is a directory
ld不成功,应该是连接lib时有误
问题应该再这里:
/usr/local/glib/lib: file not recognized: Is a directory