On Thu, 2010-12-02 at 19:41 -0500, Ivan Tsou wrote: > Thanks Tomas! I appreciate it. > > I did use ldd to check it but somehow I could not see any libvpx library > information. Here is the procedures I took: > 1. > 1. Configure, build and install libvpx0.9.1 and libvpx0.9.5 and generate > libvpx.a under both libvpx0.9.1(0.9.5) folder and /usr/local/lib folder. > > 2. 2. Go to FFMPEG folder. Type the following configure command: > --------------------------------------------------------------------------------- > “./configure --extra-cflags=-I/users/itsou/libvpx-0.9.1 > --extra-libs=-L/users/itsou/libvpx-0.9.1/libvpx.a > --extra-ldflags=-L/users/itsou/libvpx-0.9.1 --enable-libvpx > --enable-libvorbis --enable-pthreads” > --------------------------------------------------------------------------------- > > 3. 3. “make” under the FFMPEG folder. libavcodec.a is created under > /ffmpeg-0.6/libavcodec folder. > > 4. 4. Use “ldd ffmpeg” to check the library linkage and got the following > information: > --------------------------------------------------------------------------------- > “bash-3.2$ ldd ffmpeg > libz.so.1 => /usr/lib64/libz.so.1 (0x00000038c3e00000) > libbz2.so.1 => /usr/lib64/libbz2.so.1 (0x00000038d7600000) > libm.so.6 => /lib64/libm.so.6 (0x00000038c3200000) > libvorbisenc.so.2 => /usr/lib64/libvorbisenc.so.2 (0x00002b18e63a3000) > libvorbis.so.0 => /usr/lib64/libvorbis.so.0 (0x00000038ce800000) > libasound.so.2 => /lib64/libasound.so.2 (0x00000038d2200000) > libpthread.so.0 => /lib64/libpthread.so.0 (0x00000038c3a00000) > libc.so.6 => /lib64/libc.so.6 (0x00000038c2e00000) > libogg.so.0 => /usr/lib64/libogg.so.0 (0x00000038ce000000) > libdl.so.2 => /lib64/libdl.so.2 (0x00000038c3600000) > librt.so.1 => /lib64/librt.so.1 (0x00000038c8600000) > /lib64/ld-linux-x86-64.so.2 (0x00000038c2a00000)” > --------------------------------------------------------------------------------- > I thought I could see some libvpx.a linking information but somehow I > couldn’t see it. Is there anything wrong with the command I used? It would be > great if anybody can give me some hints on this issue. Thank you in advance! > > Best, > Ivan
ldd only shows which dynamic libraries will be loaded. In other words, which .so files. The library you've compiled is static (.a), so it will be rolled into the ffmpeg binary. Also, you shouldn't need --extra-libs. /Tomas
signature.asc
Description: This is a digitally signed message part
_______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
