[FFmpeg-trac] #4673(build system:new): Building ffmpeg with --enable-rpath doesn't add rpath to shared libraries

FFmpeg trac at avcodec.org
Thu Jun 25 16:03:38 CEST 2015


#4673: Building ffmpeg with --enable-rpath doesn't add rpath to shared libraries
-------------------------------------+-------------------------------------
             Reporter:  exophoric    |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  build        |                  Version:  git-
  system                             |  master
             Keywords:  rpath        |               Blocked By:
  shared                             |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 Building ffmpeg with --enable-rpath only adds the RPATH to ffmpeg,
 ffprobe, ffplay, ffserver binaries. It would be convenient if this switch
 would also add RPATH to the shared libraries.

 (Tried on git commit 803bdc546942890ce71e6bbcd339b964fb076c79 / June 25
 2015)

 How to reproduce:
 {{{
 $ ./configure --enable-rpath --prefix=/opt/ffmpeg --enable-libvpx
 --enable-shared
 $ make -j16
 $ make install
 $ cd /opt/ffmpeg/lib
 $ ldd libavcodec.so
         libswresample.so.1 => not found
         libavutil.so.54 => not found
         libvpx.so.2 => not found
 $ readelf -a libavcodec.so | grep RPATH
 $
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4673>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list