If you look at the latest version of the Makefile.am, unfortunately this was 
one of the changes that I had to make to get dynamic linking working. :(  
Static linking libexpat won't work in this case because both libganglia.so  and 
gmond both make expat calls (same with libconfuse).  My guess is that static 
linking expat into both would case problems.  If we want to continue 
distributing any external libraries, we probably need to install them to 
/opt/ganglia/lib to avoid collisions.  Of course libexpat will go away when 
converted to apr-util, but if we continue to distribute apr, apr-util and 
libconfuse, we should think about installing them into /opt/ganglia.

I like the idea of installing to /opt/ganglia.

I am now leaning towards shipping apr w/ Ganglia _until_ most major
Linux distributions are up to 1.2.x.  Right now I think a lot of
systems are still running RHEL4 (and clones) so I would strongly
recommend that we wait for people to upgrade to RHEL5 before we start
doing this dynamic linking.

Of course, we could also ship our own RPM (which installs to
/opt/ganglia) and/or just ship a separate tarball.

Just trying to make sure that Ganglia works on as many
platforms/distributions as possible.

(My $0.02)

P.S. I would like to hear other package maintainer's opinions on this...

Cheers,

Bernard

Reply via email to