[CRIU] criu static build

Pavel Emelyanov xemul at parallels.com
Sat Feb 22 00:29:45 PST 2014


On 02/22/2014 12:24 PM, riya khanna wrote:
> Hi,
> 
> I was trying to build criu statically. However, "dlopen" in "cr_plugin_init" prevents static build:
> 
> built-in.o: In function `cr_plugin_init':
> :(.text+0x338fc): warning: Using 'dlopen' in statically linked applications requires at runtime the
>    shared libraries from the glibc version used for linking
> 
> Has anybody else tried this? Workarounds?

Nobody tried. What do you need statically linked criu for? It can
be done by optional inclusion of the plugin engine, but this requires
patching the build system.

> -Riya

Thanks,
Pavel



More information about the CRIU mailing list