-
Notifications
You must be signed in to change notification settings - Fork 254
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
Not actually static? #38
Comments
I'm seeing the same. The README seems to note a few "remaining" libraries on OS X (and ldd shows no dynamic libraries on ubuntu), but when run on Arch, the resulting binary is dynamically linked to more than 30 system libraries. |
same here on Centos 7 |
It seems like both arch and centos do not ship *.a object files in -devel packages (or main packages in Arch), checked on libass package. |
Does anyone here know how or where I can find a trustworthy guide to compile a truly 100% static version of FFmpeg on Ubuntu x64? Here are the dependencies I got using this script:
|
Same here, why is the binary still dynamically linked though its explicitely called static? Without any warnings even.. |
When I initially started this project the list of non-static dependencies was fairly small. Because it's using the glibc there are always going to be a couple of non-static things (like pthread and GL libs) but this has grown out of hand. I don't have the time to maintain this project. If anyone wants to step-up I'm happy to give access to the repo or even transfer it. |
I have looked into this issue a little. You can get a fully static build of ffmpeg without the
Whether this is good enough, I don't know. However, it looks like a fully static build with libass will be harder to achieve. We can compile a static version of libass from source, but static versions of libgraphite2 and libfribidi are not available in Debian, and this Debian mailing list thread seems to indicate there are no plans to add them any time soon. What's more, libgraphite2 doesn't even seem to have a way to produce a static build out-of-the-box. If anyone has any ideas, I could look into them, but otherwise I will set this aside for now. |
👍 for removing features if they can't be statically compiled. That's the main goal of this project after all. |
if you're still interested in transferring this project, I could take over. I need a static ffmpeg for a couple of platforms. |
there are already a couple of people helping out sporadically. If you submit a useful PR I don't mind adding you as a collaborator as well. |
PR #61 should fix this. |
When I run this on a debian jessie machine, and run
ldd bin/ffmpeg
, it doesn't look like this is actually generating a statically compiled binary. Tons of libraries are getting dynamically linked in.If it were a totally static binary, ldd would return
not a dynamic executable
.I was hoping this project would result in a completely portable 64-bit binary but it doesn't appear to. Have I got this wrong? Thanks in advance.
The text was updated successfully, but these errors were encountered: