*** Could not run Ogg test program, checking why... *** The test program compiled, but did not run. This usually means *** that the run-time linker is not finding Ogg or finding the wrong *** version of Ogg. If it is not finding Ogg, you'll need to set your *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point *** to the installed location Also, make sure you have run ldconfig if that *** is required on your system *** *** If you have an old version installed, it is best to remove it, although *** you may also be able to get things to work by modifying LD_LIBRARY_PATH
configure: error: must have Ogg installed!
已经安装了libogg 然后安装libvorbis 报错。提示must have Ogg installed!。可以执行以下命令解决:
echo /usr/local/lib >> /etc/ld.so.conf; ldconfig
ERROR: vorbis not found using pkg-config
vi /etc/profile
文件最后面 添加
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"
退出保持
source /etc/profile