[FFmpeg-trac] #1713(build system:new): Linkage fails due to relocations

FFmpeg trac at avcodec.org
Mon Sep 3 19:11:33 CEST 2012


#1713: Linkage fails due to relocations
-------------------------------------+-------------------------------------
             Reporter:  Krieger      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  build
              Version:  git-master   |  system
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by Krieger):

 This is fixed by adding -Wl,-Bsymbolic to last linkage command:
 {{{
 gcc -fPIC -shared -o mylib.so mylib.o -Wl,-Bdynamic
 $FFMPEG_PATH/libav{format,codec,util}.a
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1713#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list