2009/5/7 Lee Amy <[email protected]>: > 2009/5/7 Carlo Marcelo Arenas Belon <[email protected]>: >> On Thu, May 07, 2009 at 10:52:35PM +0800, Lee Amy wrote: >>> >>> /usr/bin/ld: /usr/local/lib/libconfuse.a(confuse.o): relocation >>> R_X86_64_32 against `a local symbol' can not be used when making a >>> shared object; recompile with -fPIC >>> /usr/local/lib/libconfuse.a: could not read symbols: Bad value >> >> you are trying to build a non-static version of ganglia linked against >> a statically compiled libconfuse, you could either : >> >> 1) rebuild your libconfuse as a dynamic library (off by default) >> >> confuse $ ./configure --enable-shared >> >> EPEL packages are dynamic and could be used instead of a custom build >> library >> as well in your setup AFAIK : >> >> http://download.fedora.redhat.com/pub/epel/5/i386/repoview/libconfuse.html >> >> 2) build ganglia statically (would also build all modules statically) : >> >> ganglia $ ./configure --enable-static-build >> >> Carlo >> > > Thanks for your reply. However, I have tried both methods but still > failed. And Ganglia outputs the same error messages. > > Amy
>Anyone have good idea on such problems? > >Thanks very much. > >Amy I just came across this problem myself, and found the answer on the development list. Install confuse using this to configure it: ./configure CFLAGS=-fPIC --disable-nls I have clue what --disable-nls does, but it fixed it for me. ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Ganglia-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ganglia-general

