[FFmpeg-devel] installing shared libraries fails after SVN 12598

David Bolt 7c6ebd986448736acd2250be77d2cc38
Thu Mar 27 17:31:04 CET 2008


The change to include common.mak in the top-level Makefile made in SVN
release 12599 breaks the installation of shared libraries. Looking at
the error text, shown below, install-lib-shared attempts to create
symbolic links but, because the names it's using doesn't have the
correct versions, it fails. By replacing the Makefile created by
configure in the latest SVN release (12607) with the one created by
configure in SVN release 12598, the version numbers for the libraries
are known and the shared libraries are installed correctly.

Install-lib-shared error text:

: make -C libavfilter all
install -d "/var/tmp/ffmpeg-0.4.9.12607-0.1.suse102-buildroot/usr/lib64/vhook"
install -m 755 vhook/fish.so vhook/null.so vhook/watermark.so vhook/ppm.so vhook/imlib2.so vhook/drawtext.so
"/var/tmp/ffmpeg-0.4.9.12607-0.1.suse102-buildroot/usr/lib64/vhook"
make: Circular install-progs <- install-libs dependency dropped.
install -d "/var/tmp/ffmpeg-0.4.9.12607-0.1.suse102-buildroot/usr/bin"
install -c -m 755 ffmpeg ffplay ffserver "/var/tmp/ffmpeg-0.4.9.12607-0.1.suse102-buildroot/usr/bin"
install -d "/var/tmp/ffmpeg-0.4.9.12607-0.1.suse102-buildroot/usr/share/man/man1"
install -m 644 doc/ffmpeg.1 doc/ffplay.1 doc/ffserver.1 "/var/tmp/ffmpeg-0.4.9.12607-0.1.suse102-buildroot/usr/share/man/man1"
gcc -shared -Wl,-soname,lib.so. -L"/usr/src/packages/BUILD/ffmpeg"/libavdevice -L"/usr/src/packages/BUILD/ffmpeg"/libavformat
-L"/usr/src/packages/BUILD/ffmpeg"/libavcodec -L"/usr/src/packages/BUILD/ffmpeg"/libavutil -g  -rdynamic -export-dynamic -Wl,--warn-common
-Wl,--as-needed -Wl,-rpath-link,"/usr/src/packages/BUILD/ffmpeg"/libavcodec -Wl,-rpath-link,"/usr/src/packages/BUILD/ffmpeg"/libavformat
-Wl,-rpath-link,"/usr/src/packages/BUILD/ffmpeg"/libavutil -Wl,-Bsymbolic -L"/usr/src/packages/BUILD/ffmpeg"/libswscale -o lib.so.  -lavdevice
-lavformat -lavcodec -lavutil  -lz -pthread -lm -la52 -lfaac -lfaad -lgsm -lmp3lame -lm -ltheora -logg -lvorbisenc -lvorbis -logg -lx264 -lm
-lxvidcore    -ldl -ldl -lX11 -lXext -lswscale
ln -sf lib.so. lib.so
install -d "/var/tmp/ffmpeg-0.4.9.12607-0.1.suse102-buildroot/usr/lib64"
install -m 755 lib.so "/var/tmp/ffmpeg-0.4.9.12607-0.1.suse102-buildroot/usr/lib64/lib.so."
strip "/var/tmp/ffmpeg-0.4.9.12607-0.1.suse102-buildroot/usr/lib64/lib.so."
cd "/var/tmp/ffmpeg-0.4.9.12607-0.1.suse102-buildroot/usr/lib64" && \
                ln -sf lib.so. lib.so.
ln: `lib.so.' and `lib.so.' are the same file
make: *** [install-lib-shared] Error 1

Configure flags:

--shlibdir=/usr/lib64 --prefix=/usr --libdir=/usr/lib64 --mandir=/usr/share/man \
--arch=x86_64 --cpu=athlon64 --enable-pthreads --disable-mmx2 --enable-shared \
--enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libfaad \
--enable-libfaac --enable-libxvid --enable-liba52 --enable-swscale \
--enable-postproc --enable-gpl --enable-vhook --enable-x11grab --enable-libgsm \
--enable-libx264

CFLAGS:

-O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2  -fPIC -I/usr/include/gsm



Regards,
        David Bolt

-- 
Team Acorn: http://www.distributed.net/ OGR-P2 @ ~100Mnodes RC5-72 @ ~15Mkeys
SUSE 10.1 32bit  | openSUSE 10.2 32bit | openSUSE 10.3 32bit | openSUSE 11.0a1
SUSE 10.1 64bit  | openSUSE 10.2 64bit | openSUSE 10.3 64bit
RISC OS 3.6      | TOS 4.02            | openSUSE 10.3 PPC   | RISC OS 3.11




More information about the ffmpeg-devel mailing list