Help Compiling Static Binary
Gordon Messmer
gordon.messmer at gmail.com
Thu Jul 23 18:16:14 UTC 2015
On 07/23/2015 10:38 AM, Richard Heck wrote:
>
> The libraries are all there, though, where one would expect to find
> them. And non-static compilation works fine (with the right version of
> ffmpeg).
Static linking requires ".a" files, which probably aren't there. Some
libraries, such as glibc have a static package available
(glibc-static). Others, like vorbis, don't appear to. For any library
package that doesn't provide a static library, you'd have to build those
manually as well.
> Alternatively, is it possible to install older ffmpeg libraries, etc,
> alongside the newer ones and tell minidlna to use those? If so, how?
Probably. Often all that's required is to get the old package and "rpm
-i <package>". As long as there aren't file conflicts, it should
install. If ffmpeg's library changed in an incompatible way, they
should have also changed the so number, so that the old one can install
in parallel.
Did you have to create symlinks to libraries to get minidlna to run?
More information about the users
mailing list