On Fri, Oct 16, 2015 at 12:10 PM, Ivan Uskov <ivan.us...@nablet.com> wrote:
> Hello Julien, > > Thursday, October 15, 2015, 7:08:10 PM, you wrote: > > JF> Hi all, > > JF> I'm using QuickSync and FFmpeg on linux. > JF> It works well for encoding and decoding when I build it with > JF> --enable-static. > > JF> But when I build it with --enable-shared, it hangs. > JF> So my question is: is it supposed to work when dynamically linked? > As far as I understanding, here only libmfx library can be the reason of > the > issue. Possible libmfx was compiled without -fPIC flag. > There are two source of libmfx possible, original Intel distributive and > mfx_dispatch project: https://github.com/lu-zero/mfx_dispatch > For both cases libmfx delivers in sources so you can double-check how > it > compiles, and try to recompile libmfx with forced -fPIC compiler option. > In general linker should to reject libs compiled without > position-independent > code option so the reason may be more deep and complex but -fPIC is first > what > necessary to check. > > > -- > Best regards, > Ivan mailto:ivan.us...@nablet.com > > Thanks Ivan. You're right, it works when I compile the mfx_dispatch project with: --enable-static --disable-shared --with-pic Regards, Julien _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel