找回密码
 立即注册
查看: 34|回复: 1

checking for FREETYPE... yes checking for FRIBIDI... configure: error: Package r

[复制链接]

24

主题

20

回帖

140

积分

管理员

积分
140
发表于 2024-4-9 14:14:45 | 显示全部楼层 |阅读模式
  1. checking for FREETYPE... yes
  2. checking for FRIBIDI... configure: error: Package requirements (fribidi >= 0.19.0) were not met:
  3. No package 'fribidi' found
  4. Consider adjusting the PKG_CONFIG_PATH environment variable if you
  5. installed software in a non-standard prefix.
  6. Alternatively, you may set the environment variables FRIBIDI_CFLAGS
  7. and FRIBIDI_LIBS to avoid the need to call pkg-config.
  8. See the pkg-config man page for more details.
复制代码

该错误是缺少 Fribidi库, 下载地址为  http://fribidi.org/download/fribidi-0.19.5.tar.bz2

安装完毕 fribidi库之后, 再安装libass,

还是提示上面的错误, 原因是 PKG_CONFIG_PATH环境变量配置不正确,

像下面这样配置一下即可。
  1. [root@localhost libass-0.10.1]# find / -name pkgconfig
  2. /usr/lib/pkgconfig
  3. /usr/local/lib/pkgconfig
  4. /usr/lib64/pkgconfig
  5. /usr/share/pkgconfig

  6. [root@localhost libass-0.10.1]#
  7. [root@localhost libass-0.10.1]# find / -name pkg-config
  8. /usr/bin/pkg-config

  9. [root@localhost libass-0.10.1]#
  10. [root@localhost libass-0.10.1]# export PKG_CONFIG=/usr/bin/pkg-config
  11. [root@localhost libass-0.10.1]# export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig
复制代码

24

主题

20

回帖

140

积分

管理员

积分
140
 楼主| 发表于 2024-4-9 14:16:45 | 显示全部楼层
我的fribid一直说找不到
通过
  1. find / -name fribid
复制代码

找到路径:
  1. /usr/local/bin/fribidi
  2. /usr/local/include/fribidi
  3. /usr/local/fribidi
  4. /usr/local/fribidi/bin/fribidi
  5. /usr/local/fribidi/include/fribidi
复制代码


  1. export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/usr/localfribidi
复制代码
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|上海录客智能科技 ( 沪ICP备17017717号-8 )|网站地图

GMT+8, 2024-5-10 04:25 , Processed in 0.079927 second(s), 25 queries .

Powered by Discuz! X3.5

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表