BRCM5.02编译六:No package 'zlib' found

现象:

Checking libtoolize version:

2.4.2

Checking tar version:

1.26

Package zlib was not found in the pkg-config search path.

Perhaps you should add the directory containing `zlib.pc'

to the PKG_CONFIG_PATH environment variable

No package 'zlib' found

ERROR: pkg-config zlib failed

Your distribution may require you to use a special setting of PKG_CONFIG_PATH

make[1]: *** [prebuild_checks] Error 1

make[1]: Leaving directory `/home/wangxinyu/work/AX1803/6755_sdk'

make: *** [default] Error 2

解决方法:

yum install zlib-devel.i686 zlib-devel.x86_64

其中配置文件路径为

/usr/lib/pkgconfig/zlib.pc

/usr/lib64/pkgconfig/zlib.pc

(Centos7编译环境使用yum,ubuntu使用apt-get,OpenSUSE使用zypper )

BRCM5.02编译六:No package 'zlib' foundBRCM5.02编译六:No package 'zlib' found wangxinyu2011 发布了22 篇原创文章 · 获赞 19 · 访问量 4031 私信 关注
上一篇:Centos7下源码安装Python3 脚本


下一篇:octave5.2.0 Windows10安装与symbolic模块的自动加载