Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ffmpeg] static linking impossible #22672

Open
2 of 6 tasks
substring opened this issue Nov 27, 2024 · 3 comments
Open
2 of 6 tasks

[ffmpeg] static linking impossible #22672

substring opened this issue Nov 27, 2024 · 3 comments
Labels

Comments

@substring
Copy link

Description / Steps to reproduce the issue

Trying to build a basic ffmpeg example but statically linking ffmpeg fails.

Expected behavior

Have the resulting binary compile, linking no MSYS shared lib, just some genuine Windows DLL

Actual behavior

#18827 is of no help although there are some common undefined references.

Or am I building wrong ? In which case does MSYS miss some "helpers" ?

Verification

Windows Version

MINGW64_NT-10.0-26100

MINGW environments affected

  • MINGW64
  • MINGW32
  • UCRT64
  • CLANG64
  • CLANGARM64

Are you willing to submit a PR?

No

@substring substring added the bug label Nov 27, 2024
@lazka
Copy link
Member

lazka commented Nov 28, 2024

See #8824 - I'm not sure if that ever got finished.

In general it's tricky to keep these things working as we don't use static linking ourselves, so don't noticed when things are broken or regress. Any idea there welcome.

@substring
Copy link
Author

I thought maybe #18827 (comment) would be of some help when statically building ffmpeg

@Biswa96
Copy link
Member

Biswa96 commented Dec 5, 2024

One of the dependency of gnutls, p11-kit can not be built as static library with autotools. https://github.com/p11-glue/p11-kit/blob/0dd113361057e477f40ff4d8788f3e7e400af5f9/configure.ac#L76-L77

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants