UBUNTU安装faac

1 官网网址 http://www.audiocoding.com/

2 安装教程

tar xvf faac-1.28.tar.gz
cd faac-1.28
./configure
make
make install

3 出现的问题

faac: error while loading shared libraries: libfaac.so.0: cannot open shared object file: No such file or directory

解决方法是

sudo touch /etc/faac.conf
sudo ldconfig
#ifdef __cplusplus
extern "C" {
#endif
char *strcasestr(const char *haystack, const char *needle);
#ifdef __cplusplus
}
#endif

修改后:
#ifdef __cplusplus
extern "C++" {
#endif
const char *strcasestr(const char *haystack, const char *needle);
#ifdef __cplusplus
}
#endif

猜你喜欢

转载自blog.csdn.net/sdrgtywretyeruet/article/details/78492877