On Wed, Jan 13, 2010 at 5:29 PM, Konrad, Karl-Heinz <[email protected]> wrote:
> I am attempting to create gmond rpm packages to be installed on x86_64 > cluster nodes running CentOS 5.3 and 5.4. When I attempt to run the command > "rpmbuild -ba --target x86_64 ganglia.spec" I receive the errors: If the system you are building on is x86_64, there is no need to specify x86_64 as the target. > /usr/lib/libexpat.so: could not read symbols: File in wrong format > collect2: ld returned 1 exit status > make[2]: *** [libganglia.la] Error 1 > make[2]: Leaving directory `/usr/src/redhat/BUILD/ganglia-3.1.2/lib' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/src/redhat/BUILD/ganglia-3.1.2' > make: *** [all] Error 2 > error: Bad exit status from /var/tmp/rpm-tmp.39072 (%build) > RPM build errors: > Bad exit status from /var/tmp/rpm-tmp.39072 (%build) It would appear that your expat library is 32-bit. You'll need to install the 64-bit version inorder to build cleanly. Cheers, Bernard ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Ganglia-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ganglia-general

