GPAC MP4Box ZLIB 错误
GPAC MP4Box ZLIB Error
我一直在尝试按照以下说明在我的 CentOS 7 机器上安装 MP4Box:
...
cd extra_libs
cp -r * /usr/local/src/gpac/extra_lib
cd ..
cd gpac
chmod 755 configure
./configure
make lib
make apps
make install lib
make install
cp bin/gcc/libgpac.so /usr/lib
install -m644 bin/gcc/libgpac.so /usr/local/lib/libgpac.so
chmod +x /usr/local/lib/libgpac.so
ldconfig
一切正常,直到我到达 ./configure
,这给了我一个错误:
./configure: line 354: gcc: command not found
error: zlib not found on system or in local libs
我已经删除并重新安装了 ZLIB,但仍然没有成功。我是 CentOS 的新手,所以我不确定问题出在 MP4Box 还是我的 CentOS 安装上。我读到这可能是一个位置问题,这是我在 运行 a whereis /usr/include/zlib.h /usr/share/man/man3/zlib.3.gz
时得到的结果。想法?
原来是没有安装gcc。我做了 yum install gcc
并解决了我的问题。
我一直在尝试按照以下说明在我的 CentOS 7 机器上安装 MP4Box:
...
cd extra_libs
cp -r * /usr/local/src/gpac/extra_lib
cd ..
cd gpac
chmod 755 configure
./configure
make lib
make apps
make install lib
make install
cp bin/gcc/libgpac.so /usr/lib
install -m644 bin/gcc/libgpac.so /usr/local/lib/libgpac.so
chmod +x /usr/local/lib/libgpac.so
ldconfig
一切正常,直到我到达 ./configure
,这给了我一个错误:
./configure: line 354: gcc: command not found
error: zlib not found on system or in local libs
我已经删除并重新安装了 ZLIB,但仍然没有成功。我是 CentOS 的新手,所以我不确定问题出在 MP4Box 还是我的 CentOS 安装上。我读到这可能是一个位置问题,这是我在 运行 a whereis /usr/include/zlib.h /usr/share/man/man3/zlib.3.gz
时得到的结果。想法?
原来是没有安装gcc。我做了 yum install gcc
并解决了我的问题。