linux - Can't find libavcodec when running ./configure for vlc -
i trying run './configure' vlc on ubuntu 10.04. can't find libavcode libraries reason. have check /usr/lib, has libraries, why ./configure can't find it?
this error './configure':
checking avcodec... no configure: error: not find libavcodec or libavutil. use --disable-avcodec ignore error.
but install libavcodec-dev, still fails:
$ sudo apt-get install libavcodec-dev reading package lists... done building dependency tree reading state information... done libavcodec-dev newest version. 0 upgraded, 0 newly installed, 0 remove , 201 not upgraded.
i have checked '/usr/lib', see libavcodec.so:
-rw-r--r-- 1 root root 7339558 2010-03-04 04:42 libavcodec.a lrwxrwxrwx 1 root root 21 2010-06-26 00:38 libavcodec.so -> libavcodec.so.52.20.1 lrwxrwxrwx 1 root root 21 2010-05-10 22:30 libavcodec.so.52 -> libavcodec.so.52.20.1 -rw-r--r-- 1 root root 5560152 2010-03-04 04:54 libavcodec.so.52.20.1 -rw-r--r-- 1 root root 1316312 2010-03-04 04:42 libavformat.a lrwxrwxrwx 1 root root 22 2010-06-26 00:38 libavformat.so -> libavformat.so.52.31.0 lrwxrwxrwx 1 root root 22 2010-05-10 22:30 libavformat.so.52 -> libavformat.so.52.31.0 -rw-r--r-- 1 root root 694880 2010-03-04 04:42 libavformat.so.52.31.0 -rw-r--r-- 1 root root 85164 2010-03-04 04:42 libavutil.a lrwxrwxrwx 1 root root 20 2010-06-26 00:38 libavutil.so -> libavutil.so.49.15.0 lrwxrwxrwx 1 root root 20 2010-05-10 22:30 libavutil.so.49 -> libavutil.so.49.15.0 -rw-r--r-- 1 root root 47296 2010-03-04 04:54 libavutil.so.49.15.0
thank help.
check configure.log may give hint missing. can header file instead of library.
Comments
Post a Comment