加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

linux – 在运行./configure for vlc时找不到libavcodec

发布时间:2020-12-13 19:33:41 所属栏目:Linux 来源:网络整理
导读:我正在ubuntu 10.04上为vlc运行’./configure’.但是由于某种原因找不到libavcode库.我有检查/usr/lib,它有库,为什么./configure找不到它? 这是’./configure’的错误: checking for AVCODEC... noconfigure: error: Could not find libavcodec or libavut
我正在ubuntu 10.04上为vlc运行’./configure’.但是由于某种原因找不到libavcode库.我有检查/usr/lib,它有库,为什么./configure找不到它?

这是’./configure’的错误:

checking for AVCODEC... no
configure: error: Could not find libavcodec or libavutil. Use --disable-avcodec to ignore this error.

但我已经安装libavcodec-dev,但仍然失败:

$sudo apt-get install libavcodec-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libavcodec-dev is already the newest version.
0 upgraded,0 newly installed,0 to remove and 201 not upgraded.

我查了’/usr/lib’,看到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

感谢您的任何帮助.

解决方法

检查configure.log 可能会给你一个关于什么是失踪的提示.它可以是头文件而不是库.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读