./configure --prefix=/server/httpd-2.2.10/modlib/gd/ --with-png=/server/httpd-2.2.10/modlib/libpng/ --with-freetype=/server/httpd-2.2.10/modlib/freetype/ --with-jpeg=/server/httpd-2.2.10/modlib/jpeg6/ --with-fontconfig=/server/httpd-2.2.10/modlib/fontconfig/
没有错误
make的时候
collect2: ld returned 1 exit status
make[2]: *** [fc-cache] Error 1
make[2]: Leaving directory `/server/soft/modlib/fontconfig-2.6.0/fc-cache'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/server/soft/modlib/fontconfig-2.6.0'
make: *** [all] Error 2
高手们帮帮忙,找找原因
alick 于 2011-04-19 17:52:17发表:
楼主没附上具体的错误信息啊,应该在 collect2: ld returned 1 exit status 的前面
yhtoo 于 2011-04-18 13:23:58发表:
我也有类似的问题。不过我的错误提示是:
gcc: /usr/local/lib/libfreetype.so: No such file or directory
make[3]: *** [libfontconfig.la] Error 1
make[3]: Leaving directory `/usr/src/fontconfig-2.8.0/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/fontconfig-2.8.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/fontconfig-2.8.0'
make: *** [all] Error 2