[Ocfs2-tools-devel] The end of static binaries?
Joel Becker
Joel.Becker at oracle.com
Thu Oct 16 17:13:51 PDT 2008
On Thu, Oct 16, 2008 at 02:33:10PM -0700, 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.
Well, e2fsck is still static, my bad - some misuse of file(1) on
my part.
Joel
--
"You can get more with a kind word and a gun than you can with
a kind word alone."
- Al Capone
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
More information about the Ocfs2-tools-devel
mailing list