libxml2安装中出现的错误:cannot remove `libtoolT': No such file or directory解决方法:

修改configure文件

$ vim configure删除这一行: $RM "$cfgfile"

重新再运行 $ ./configure

# ./configure --host=arm-linux --build=i386-linux --target=arm --prefix=/usr/local/arm/libxml_arm CC=/usr/local/arm/4.1.1/bin/arm-9tdmi-linux-gnu-gcc --without-zlib

注:--without-zlib选项很重要,如果不加此选项,make的时候会提示如下错误:

./.libs/libxml2.so: undefined reference to `gzopen'

./.libs/libxml2.so: undefined reference to `gzclose'

./.libs/libxml2.so: undefined reference to `deflate'

./.libs/libxml2.so: undefined reference to `gzrewind'

./.libs/libxml2.so: undefined reference to `gzwrite'

./.libs/libxml2.so: undefined reference to `crc32'

./.libs/libxml2.so: undefined reference to `deflateEnd'

./.libs/libxml2.so: undefined reference to `gzdopen'

./.libs/libxml2.so: undefined reference to `deflateInit2_'

./.libs/libxml2.so: undefined reference to `gzread' collect2: ld returned 1 exit status

GitHub 加速计划 / li / linux-dash
10.39 K
1.2 K
下载
A beautiful web dashboard for Linux
最近提交(Master分支:2 个月前 )
186a802e added ecosystem file for PM2 4 年前
5def40a3 Add host customization support for the NodeJS version 4 年前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐