[FFmpeg-devel] shared lib installation
Frank Liu
gfrankliu
Thu Mar 27 22:56:34 CET 2008
Building today's svn on Linux with --enable-shared went fine, but
installation failed.
./configure --enabe-shared
make
make install fails for one weird lib. See below.
make -n install-libs
make -C libavutil all
make[1]: Entering directory `/home/fliu/work/ffmpeg-test/libavutil'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/fliu/work/ffmpeg-test/libavutil'
make -C libavcodec all
make[1]: Entering directory `/home/fliu/work/ffmpeg-test/libavcodec'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/fliu/work/ffmpeg-test/libavcodec'
make -C libavformat all
make[1]: Entering directory `/home/fliu/work/ffmpeg-test/libavformat'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/fliu/work/ffmpeg-test/libavformat'
make -C libavdevice all
make[1]: Entering directory `/home/fliu/work/ffmpeg-test/libavdevice'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/fliu/work/ffmpeg-test/libavdevice'
: make -C libpostproc all
: make -C libswscale all
: make -C libavfilter all
install -d "/usr/local/lib/vhook"
install -m 755 vhook/fish.so vhook/null.so vhook/watermark.so
vhook/ppm.so vhook/imlib2.so vhook/drawtext.so "/usr/local/lib/vhook"
make: Circular install-progs <- install-libs dependency dropped.
install -d "/usr/local/bin"
install -c -m 755 ffmpeg ffplay ffserver "/usr/local/bin"
install -d "/usr/local/share/man/man1"
install -m 644 doc/ffmpeg.1 doc/ffplay.1 doc/ffserver.1
"/usr/local/share/man/man1"
gcc -shared -Wl,-soname,lib.so.
-L"/home/fliu/work/ffmpeg-test"/libavdevice
-L"/home/fliu/work/ffmpeg-test"/libavformat
-L"/home/fliu/work/ffmpeg-test"/libavcodec
-L"/home/fliu/work/ffmpeg-test"/libavutil -g -rdynamic
-export-dynamic -Wl,--warn-common -Wl,--as-needed
-Wl,-rpath-link,"/home/fliu/work/ffmpeg-test"/libavcodec
-Wl,-rpath-link,"/home/fliu/work/ffmpeg-test"/libavformat
-Wl,-rpath-link,"/home/fliu/work/ffmpeg-test"/libavutil -Wl,-Bsymbolic
-o lib.so. -lavdevice -lavformat -lavcodec -lavutil -lz -lm -ldl
-ldl
ln -sf lib.so. lib.so
install -d "/usr/local/lib"
install -m 755 lib.so "/usr/local/lib/lib.so."
strip "/usr/local/lib/lib.so."
cd "/usr/local/lib" && \
ln -sf lib.so. lib.so.
cd "/usr/local/lib" && \
ln -sf lib.so. lib.so
...
What is this lib.so. file?
More information about the ffmpeg-devel
mailing list