libGX11.so: could not read symbols: File in wrong format

Dear experts,

I am trying to compile a macro in ROOT 5.14.00e (on slc4, gcc345) using:

gSystem->CompileMacro(“Overlay.cc”,“fkg”,“libOverlay”);

I get the error:

Info in TUnixSystem::ACLiC: creating shared library /afs/cern.ch/user/p/pwing/scratch0/CMSSW_1_5_0_pre2/src/EventFilter/SiStripRawToDigi/test/stubs/libOverlay.so
/afs/cern.ch/cms/sw/slc4_ia32_gcc345/lcg/root/5.14.00e/root/lib/libGX11.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
Error in : Compilation failed!

The macro compiles without a problem in 5.13.04e (slc3,gcc323)

Does anyone have any suggestions?

Many thanks,
Matt

I can answer my own question: I was using a 64 bit machine!

Cheers.
Matt