Hi Bernard, I already have the 64-bit libraries installed. The ganglia.spec file seems unable to resolve the path. I tried to modify the path location in the spec file by hand, but the error continued.
[r...@nynode-1 ~]# ls /usr/lib64/ | grep exp libexpat.a libexpat.la libexpat.so libkregexpeditorcommon.la libkregexpeditorcommon.so libkregexpeditorcommon.so.1 libkregexpeditorcommon.so.1.0.0 --------------------------------------------------------------------------------------------------- Weidlinger Associates, Inc. made the following annotations. “This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you.” “Please consider our environment before printing this email.” ________________________________________ From: Bernard Li [[email protected]] Sent: Wednesday, January 13, 2010 9:15 PM To: Konrad, Karl-Heinz Cc: Ganglia Subject: Re: [Ganglia-general] Problems with rpmbuild and libexpat.so 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

