[Ocfs2-tools-devel] The end of static binaries?

Sunil Mushran sunil.mushran at oracle.com
Thu Oct 16 15:04:33 PDT 2008


I guess making it dynamic could affect the shared root folks. But
then they rebuild the binaries anycase. So I vote option 2.

Joel Becker wrote:
> Folks,
> 	libcom_err just added a dependancy on -lrt.  It's hidden from
> dynamically linked programs (it loads internally to libcom_err) but is
> required on the link link for statically linked programs.  This breaks
> our compiles of o2fsck and o2cb_ctl because they default to static and
> we don't have -lrt on the link line.
> 	Now, pkg-config handles this with a --static argument.  So we
> have two choices:
>
> 1) Have configure.in detect this and create COM_ERR_LIBS_STATIC, which
>    we then use in the static builds of o2fsck and o2cb_ctl.
>
> 2) Just remove the static compilation option.  I can't find a modern
>    distro that ships fsck static, even e2fsck or xfs_check.
>
> Joel
>




More information about the Ocfs2-tools-devel mailing list