[Ocfs2-tools-devel] Why not link libdlm_lt directly ?
Andrew Beekhof
andrew at beekhof.net
Wed Oct 28 12:56:28 PDT 2009
On Wed, Oct 28, 2009 at 7:58 PM, Joel Becker <Joel.Becker at oracle.com> wrote:
> On Wed, Oct 28, 2009 at 08:38:36PM +0800, 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>
>
>> Once thing I don't understand is, why libdlm_lt is not linked directly to libo2dlm when HAVE_FSDLM is defined ? Current
>> code loads the library in run time and rename the symbols to fsdlm_xxxxx, it's a little bit complex than just including
>> libdlm.h and linking libdlm_lt in build time.
>
> Because this allows us to build packages that don't require
> libdlm. All non-SuSE users right now are using o2cb. Forcing them to
> install libdlm and other cluster packages that they won't be using is a
> bad idea.
You've got to be kidding me.
On Fedora ocfs2-tools sucks in _63Mb_ worth of packages including a
print server, half of X.org, ghostscript and some CD burning tools.
Even a full Pacemaker install only brings in 5.6, and thats with
support for _both_ stacks turned on.
I doubt people are going to even find the dlm in the install list let
alone notice the extra 93k.
[root at pcmk-1 ~]# yum install ocfs2-tools
[snip]
Dependencies Resolved
=============================================================================
Package Arch
Version Repository Size
=============================================================================
Installing:
ocfs2-tools x86_64
1.4.3-3.fc12 rawhide 338 k
Installing for dependencies:
atk x86_64
1.28.0-1.fc12 rawhide 171 k
avahi x86_64
0.6.25-5.fc12 rawhide 234 k
bc x86_64
1.06.95-1.fc12 rawhide 106 k
cairo x86_64
1.8.8-3.fc12 rawhide 288 k
cdparanoia-libs x86_64
10.2-5.fc12 rawhide 45 k
cups x86_64
1:1.4.1-10.fc12 rawhide 2.3 M
cups-libs x86_64
1:1.4.1-10.fc12 rawhide 306 k
cvs x86_64
1.11.23-8.fc12 rawhide 713 k
ed x86_64
1.1-3.fc12 rawhide 70 k
flac x86_64
1.2.1-6.fc12 rawhide 230 k
fontconfig x86_64
2.7.3-1.fc12 rawhide 176 k
foomatic x86_64
4.0.3-1.fc12 rawhide 228 k
foomatic-db noarch
4.0-6.20090819.fc12 rawhide 879 k
foomatic-db-filesystem noarch
4.0-6.20090819.fc12 rawhide 4.2 k
foomatic-db-ppds noarch
4.0-6.20090819.fc12 rawhide 15 M
freetype x86_64
2.3.9-6.fc12 rawhide 334 k
gettext x86_64
0.17-15.fc12 rawhide 1.7 M
ghostscript x86_64
8.70-1.fc12 rawhide 3.4 M
ghostscript-fonts noarch
5.50-23.fc12 rawhide 711 k
gstreamer x86_64
0.10.25-1.fc12 rawhide 725 k
gstreamer-plugins-base x86_64
0.10.25-3.fc12 rawhide 908 k
gstreamer-tools x86_64
0.10.25-1.fc12 rawhide 22 k
gtk2 x86_64
2.18.3-11.fc12 rawhide 3.1 M
hicolor-icon-theme noarch
0.11-1.fc12 rawhide 39 k
jasper-libs x86_64
1.900.1-13.fc12 rawhide 140 k
lcms-libs x86_64
1.18-3.fc12 rawhide 95 k
libICE x86_64
1.0.6-1.fc12 rawhide 51 k
libSM x86_64
1.1.0-7.fc12 rawhide 25 k
libX11 x86_64
1.3-1.fc12 rawhide 582 k
libX11-common noarch
1.3-1.fc12 rawhide 188 k
libXau x86_64
1.0.5-1.fc12 rawhide 21 k
libXcomposite x86_64
0.4.1-2.fc12 rawhide 17 k
libXcursor x86_64
1.1.10-1.fc12 rawhide 31 k
libXdamage x86_64
1.1.2-1.fc12 rawhide 16 k
libXext x86_64
1.1-1.fc12 rawhide 33 k
libXfixes x86_64
4.0.4-1.fc12 rawhide 19 k
libXfont x86_64
1.4.1-1.fc12 rawhide 128 k
libXft x86_64
2.1.13-4.fc12 rawhide 47 k
libXi x86_64
1.3-1.fc12 rawhide 32 k
libXinerama x86_64
1.1-1.fc12 rawhide 15 k
libXrandr x86_64
1.3.0-3.fc12 rawhide 29 k
libXrender x86_64
0.9.5-1.fc12 rawhide 27 k
libXt x86_64
1.0.7-1.fc12 rawhide 174 k
libXv x86_64
1.0.5-1.fc12 rawhide 21 k
libXvMC x86_64
1.0.4-8.fc12 rawhide 22 k
libXxf86vm x86_64
1.1.0-1.fc12 rawhide 18 k
libdaemon x86_64
0.14-1.fc12 rawhide 28 k
libfontenc x86_64
1.0.5-2.fc12 rawhide 24 k
libgomp x86_64
4.4.2-4.fc12 rawhide 89 k
libgudev1 x86_64
145-11.fc12 rawhide 52 k
libjpeg x86_64
6b-46.fc12 rawhide 128 k
libmng x86_64
1.0.10-4.fc12 rawhide 156 k
libmodplug x86_64
1:0.8.7-2.fc12 rawhide 148 k
libmpcdec x86_64
1.2.6-6.fc12 rawhide 25 k
libogg x86_64
2:1.1.4-2.fc12 rawhide 20 k
liboil x86_64
0.3.16-4.fc12 rawhide 114 k
libthai x86_64
0.1.12-2.fc12 rawhide 168 k
libtheora x86_64
1:1.1.0-1.fc12 rawhide 119 k
libtiff x86_64
3.8.2-15.fc12 rawhide 265 k
libvisual x86_64
0.4.0-9.fc12 rawhide 126 k
libvorbis x86_64
1:1.2.3-2.fc12 rawhide 157 k
libxcb x86_64
1.4-1.fc12 rawhide 90 k
mailx x86_64
12.4-3.fc12 rawhide 224 k
mesa-dri-drivers x86_64
7.6-0.13.fc12 rawhide 1.3 M
mesa-libGL x86_64
7.6-0.13.fc12 rawhide 136 k
mesa-libGLU x86_64
7.6-0.13.fc12 rawhide 167 k
openjpeg-libs x86_64
1.3-6.fc12 rawhide 57 k
pango x86_64
1.26.0-1.fc12 rawhide 325 k
paps x86_64
0.6.8-11.fc12 rawhide 32 k
paps-libs x86_64
0.6.8-11.fc12 rawhide 24 k
patch x86_64
2.5.4-40.fc12 rawhide 62 k
pax x86_64
3.4-10.fc12 rawhide 67 k
phonon x86_64
4.3.1-102.fc12 rawhide 128 k
phonon-backend-xine x86_64
4.3.1-102.fc12 rawhide 148 k
pixman x86_64
0.16.2-1.fc12 rawhide 129 k
pkgconfig x86_64
1:0.23-9.fc12 rawhide 68 k
poppler x86_64
0.12.1-3.fc12 rawhide 577 k
poppler-utils x86_64
0.12.1-3.fc12 rawhide 73 k
portreserve x86_64
0.0.4-2.fc12 rawhide 21 k
qt x86_64
1:4.5.3-6.fc12 rawhide 3.1 M
qt-sqlite x86_64
1:4.5.3-6.fc12 rawhide 46 k
qt-x11 x86_64
1:4.5.3-6.fc12 rawhide 13 M
qt3 x86_64
3.3.8b-28.fc12 rawhide 3.2 M
redhat-lsb x86_64
3.2-6.fc12 rawhide 273 k
speex x86_64
1.2-0.12.rc1.fc12 rawhide 92 k
time x86_64
1.7-37.fc12 rawhide 25 k
tmpwatch x86_64
2.9.15-2 rawhide 23 k
urw-fonts noarch
2.4-8.fc12 rawhide 3.0 M
wavpack x86_64
4.60-1.fc12 rawhide 111 k
xine-lib x86_64
1.1.16.3-4.fc12 rawhide 1.9 M
xorg-x11-font-utils x86_64
1:7.2-10.fc12 rawhide 72 k
Transaction Summary
==============================================================================
Install 92 Package(s)
Upgrade 0 Package(s)
Total download size: 63 M
Is this ok [y/N]: <--- God NO!
More information about the Ocfs2-tools-devel
mailing list