作者:75712533_6bdc45_141 | 来源:互联网 | 2017-11-16 01:16
今天在Debian 4.0 rc3编译subversion过程中,在configure后,在make进行编译时,出现了下面的错误:
/usr/bin/ld: cannot find -lexpat
collect2: ld returned 1 exit status
make: *** [subversion/svn/svn] Error 1
是找不到xpat库,于是:
#apt-cache search xpat | grep xpat
找到libexpat1-dev - XML parsing C library - development kit
并安装之:
#apt-get install libexpat1-dev
继续编译…