[Ocfs2-tools-devel] Why not link libdlm_lt directly ?

Joel Becker Joel.Becker at oracle.com
Thu Oct 29 11:37:44 PDT 2009


On Fri, Oct 30, 2009 at 02:16:42AM +0800, Coly Li wrote:
> Sunil Mushran Wrote:
> > Coly Li wrote:
> >> These days when I work on BNC#543119
> >> (https://bugzilla.novell.com/show_bug.cgi?id=543119), which is an
> >> issue when
> >> loading libdlm_lt from libo2dlm.
> >>
> [snip]
> >> The fast and easy fix is just add libdlm-devel installation dependence
> >> to ocfs2-tools package, but IMHO it's kind of
> >> work around.
> > 
> > Why do you call this a workaround?
> > 
> 
> IMHO, ocfs2-tools should only use libdlm2 without libdlm-devel package. The devel package should only be used for
> building ocfs2-tools when necessary. Yes, this is not absolutely.

	On some platforms, linking to libdlm3 (and yes, I said '3')
requires the cman or cluster package.  It's a lot more than just
libdlm3, and it's really confusing when a customer using o2cb has to
find and install an entire unused cluster stack.
	If libdlm3 was packaged as a separate RPM, we would probably
just depend on it, but it is not.  And some platforms don't even have
libdlm3, just libdlm2.

Joel

-- 

"The whole principle is wrong; it's like demanding that grown men 
 live on skim milk because the baby can't eat steak."
        - author Robert A. Heinlein on censorship

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