- 论坛徽章:
- 0
|
ubuntu 9.10
一、在编译VLC完成后执行,出现错误:
[0x997e198] main libvlc warning: cannot load module `/usr/local/lib/vlc/demux/libavformat_plugin.so' (/usr/local/lib/libavformat.so.52: undefined symbol: av_init_packet)
[0x997e198] main libvlc warning: cannot load module `/usr/local/lib/vlc/codec/libavcodec_plugin.so' (/usr/local/lib/vlc/codec/libavcodec_plugin.so: undefined symbol: vaUnmapBuffer)
configure参数如下
./configure --enable-avcodec --enable-avformat --enable-debug --enable-run-as-root
二、同时ffmpeg也是从源码开始编译的,./configure --enable-shared --disable-static,make sudo make install
djstava@linux:~/vlc-1.0.0$ ls -l /usr/local/lib/vlc/codec/libavcodec_plugin.so
-rwxr-xr-x 1 root root 234296 2010-01-03 14:57 /usr/local/lib/vlc/codec/libavcodec_plugin.so
不是很清楚程序模块加载的机制,高手请指点下,谢谢! |
|