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

linux – 在运行.configure for vlc时找不到libavcodec,第1张

概述我正在ubuntu 10.04上为vlc运行’./configure’.但是由于某种原因找不到libavcode库.我有检查/usr/lib,它有库,为什么./configure找不到它? 这是’./configure’的错误: checking for AVCODEC... noconfigure: error: Could not find libavcodec or libavutil. 我正在ubuntu 10.04上为vlc运行’./configure’.但是由于某种原因找不到libavcode库.我有检查/usr/lib,它有库,为什么./configure找不到它?

这是’./configure’的错误:

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

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

$sudo apt-get install libavcodec-devReading package Lists... DoneBuilding dependency tree       Reading state information... Donelibavcodec-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.alrwxrwxrwx 1 root root      21 2010-06-26 00:38 libavcodec.so -> libavcodec.so.52.20.1lrwxrwxrwx 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.alrwxrwxrwx 1 root root      22 2010-06-26 00:38 libavformat.so -> libavformat.so.52.31.0lrwxrwxrwx 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.alrwxrwxrwx 1 root root      20 2010-06-26 00:38 libavutil.so -> libavutil.so.49.15.0lrwxrwxrwx 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 可能会给你一个关于什么是失踪的提示.它可以是头文件而不是库. 总结

以上是内存溢出为你收集整理的linux – 在运行./configure for vlc时找不到libavcodec全部内容,希望文章能够帮你解决linux – 在运行./configure for vlc时找不到libavcodec所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/yw/1048421.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-25
下一篇 2022-05-25

发表评论

登录后才能评论

评论列表(0条)

保存