[FFmpeg-user] FFMPEG with gnutls static build for Android

Michael Wood mornwood23 at gmail.com
Mon Feb 8 19:02:46 EET 2021


Hi Reindl

The dependencies are all built from source as static libs (gnutls, gmp,
nettle).

Thanks


On Mon, Feb 8, 2021 at 5:51 PM Reindl Harald <h.reindl at thelounge.net> wrote:

>
>
> Am 08.02.21 um 17:47 schrieb Michael Wood:
> > Hi,
> >
> > I'm trying to build ffmpeg with gnutls as a static library, but the issue
> > i'm seeing is when I link to the built ffmpeg libs in my project, that
> > should build a final shared library, i'm getting undefined references to
> > gnutls and its dependencies.
> >
> > I'm trying to figure out how to proceed with this. I've expected that the
> > final libs would have no external dependencies if they are built as
> static
> > or am i missing something ?
>
> yes you miss something, thats's only possible if the library is even
> available as static library itself
>
>
> https://stackoverflow.com/questions/12237282/whats-the-difference-between-so-la-and-a-library-files/12237595
>
> if there is only a .so it can be only linked dynamic and so you need a
> static library version of *everything* you link against
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list