ERROR: libass not found using pkg-config

ERROR: libass not found using pkg-config

 Previous Topic Next Topic 
 
classicClassiclistListthreadedThreaded
2 messages  Options  Options 
Reply |  Threaded |  More    

ERROR: libass not found using pkg-config

Linov Suresh
1 post
Hi there, 

I tried to install VLC player from the source. I tried to install the 
dependencies like ffmpeg, and I got error, 

[root@test01 ffmpeg-2.5.2]# sed -i 's/-lflite"/-lflite -lasound"/' 
configure && ./configure --prefix=/usr --enable-gpl --enable-version3 
--enable-nonfree --disable-static --enable-shared --disable-debug 
--enable-libass --enable-libfdk-aac --enable-libmp3lame 
--enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 
--enable-x11grab --docdir=/usr/share/doc/ffmpeg-2.5.2 && make && gcc 
tools/qt-faststart.c -o tools/qt-faststart 
ERROR: libass not found using pkg-config 

If you think configure made a mistake, make sure you are using the latest 
version from Git.  If the latest version fails, report the problem to the 
[hidden email] mailing list or IRC #ffmpeg on irc.freenode.net. 
Include the log file "config.log" produced by configure as this will help 
solve the problem. 

I have aleady installed Libass, and it's dependencies FreeType and FriBidi 

1. FreeType 
2. FriBidi 

1. FreeType 

# sed -i  -e "/AUX.*.gxvalid/s@^# @@" -e "/AUX.*.otvalid/s@^# @@" 
modules.cfg && sed -ri -e 's:.*(#.*SUBPIXEL.*) .*:\1:' 
include/config/ftoption.h  && ./configure --prefix=/usr --disable-static && 
make 

make install && install -v -m755 -d /usr/share/doc/freetype-2.5.4 && cp -v 
-R docs/* /usr/share/doc/freetype-2.5.4 

Ref:  http://www.linuxfromscratch.org/blfs/view/svn/general/freetype2.html

2. FriBidi 

sed -i "s|glib/gstrfuncs\.h|glib.h|" charset/fribidi-char-sets.c && sed -i 
"s|glib/gmem\.h|glib.h|" lib/mem.h && ./configure --prefix=/usr && make 
make check 
make install 

Ref:  http://www.linuxfromscratch.org/blfs/view/svn/general/fribidi.html

*Install Libass* 

export PKG_CONFIG_PATH=/usr/lib/pkgconfig 
export PKG_CONFIG=/usr/bin/pkg-config 

./configure --prefix=/usr --disable-static && make 

make install 

Ref:  http://www.linuxfromscratch.org/blfs/view/svn/multimedia/libass.html

Also including the config.log herewith. 

Great if you can help me on this, 

Sincerely, 


   Linov Suresh 

_______________________________________________ 
ffmpeg-user mailing list 
[hidden email] 
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

  config.log (306K)  Download Attachment
width="336" height="280" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" allowfullscreen="true" id="aswift_0" name="aswift_0" style="display: block !important; visibility: visible !important; height: 280px !important; width: 336px !important; position: absolute; top: 0px; left: 0px;">
width="336" height="280" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" allowfullscreen="true" id="aswift_1" name="aswift_1" style="display: block !important; visibility: visible !important; height: 280px !important; width: 336px !important; position: absolute; top: 0px; left: 0px;">
Reply |  Threaded |  More    

Re: ERROR: libass not found using pkg-config

Clément Bœsch-2
54 posts
On Sun, Dec 28, 2014 at 04:12:31PM -0500, Linov Suresh wrote: 
[...]

> gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -std=c99 -fomit-frame-pointer -fPIC -pthread -I/usr/include/fribidi -I/usr/include/freetype2 -c -o /tmp/ffconf.l5vtv5Rb.o /tmp/ffconf.Zueidl0k.c 
> gcc -Wl,--as-needed -Wl,-z,noexecstack -I/usr/include/fribidi -I/usr/include/freetype2 -o /tmp/ffconf.KyDlMmsr /tmp/ffconf.l5vtv5Rb.o -lass -lm -lz -pthread -lrt 
> /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../libass.so: undefined reference to `fribidi_reorder_line' 
> /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../libass.so: undefined reference to `fribidi_join_arabic' 
> /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../libass.so: undefined reference to `fribidi_shape' 
> /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../libass.so: undefined reference to `fribidi_get_joining_types' 
> /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../libass.so: undefined reference to `fribidi_get_par_embedding_levels' 
> /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../libass.so: undefined reference to `fribidi_get_bidi_types' 
> collect2: ld returned 1 exit status 
> ERROR: libass not found using pkg-config
Check if all of these make sense: 
  pkg-config --libs --cflags freetype2 
  pkg-config --libs --cflags fribidi 
  pkg-config --libs --cflags libass 

[...] 

-- 
Clément B. 

_______________________________________________ 
ffmpeg-user mailing list 
[hidden email] 
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

  attachment0 (484 bytes)  Download Attachment
width="728" height="90" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" allowfullscreen="true" id="aswift_2" name="aswift_2" style="display: block !important; visibility: visible !important; height: 90px !important; width: 728px !important; position: absolute; top: 0px; left: 0px;">



http://lists.ffmpeg.org/pipermail/ffmpeg-user/2014-December/024803.html


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
ffmpeg version 2023-07-06-git-f00222e81f-essentials_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers built with gcc 12.2.0 (Rev10, Built by MSYS2 project) configuration: --enable-gpl --enable-version3 --enable-static --disable-w32thr eads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --e nable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-zlib --enable-l ibsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-l ibwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enab le-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable -libfreetype --enable-libfribidi --enable-libharfbuzz --enable-libvidstab --enab le-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --ena ble-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --en able-libvpl --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --ena ble-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enab le-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --ena ble-librubberband libavutil 58. 14.100 / 58. 14.100 libavcodec 60. 22.100 / 60. 22.100 libavformat 60. 10.100 / 60. 10.100 libavdevice 60. 2.101 / 60. 2.101 libavfilter 9. 8.102 / 9. 8.102 libswscale 7. 3.100 / 7. 3.100 libswresample 4. 11.100 / 4. 11.100 libpostproc 57. 2.100 / 57. 2.100 [in#0 @ 000001fd774d6780] Error opening input: No such file or directory
07-08

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值