ERROR: libass not found using pkg-config

Login  Register

ERROR: libass not found using pkg-config

 Previous Topic Next Topic 
 
classic Classic list List threaded Threaded
2 messages  Options  Options 
Linov Suresh
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;">
Remove Ads
Clément Bœsch-2
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;">
Remove Ads



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


你可能感兴趣的:(ERROR: libass not found using pkg-config)