I'm compiling FFmpeg from source.
./configure --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-x11grab --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264
make
make install
ldd /usr/local/bin/ffmpeg
gave me this
linux-gate.so.1 => (0xb7717000)
libavdevice.so.53 => not found
libavfilter.so.2 => not found
libavformat.so.54 => not found
libavcodec.so.54 => not found
libpostproc.so.52 => not found
libswresample.so.0 => not found
libswscale.so.2 => not found
libavutil.so.51 => not found
libm.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libm.so.6 (0xb76e3000)
libpthread.so.0 => /lib/i386-linux-gnu/tls/i686/nosegneg/libpthread.so.0 (0xb76ca000)
libc.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libc.so.6 (0xb7569000)
/lib/ld-linux.so.2 (0xb7718000)
Setting $LD_LIBRARY_PATH
to /usr/local/lib
corrected the "not found" errors, but for the reasons mentioned here, I don't want to set $LD_LIBRARY_PATH
permanantly.
I recomiled with the same commands, this time with $LD_RUN_PATH
set to /usr/local/lib
.
make
seem to have ignored $LD_RUN_PATH
when compiling.
Is there a way to use $LD_RUN_PATH
without making extensive changes to the Makefile?