[mira_talk] help with libexpat

  • From: George Marselis <George.MARSELIS@xxxxxxxxxxxx>
  • To: "mira_talk@xxxxxxxxxxxxx" <mira_talk@xxxxxxxxxxxxx>
  • Date: Wed, 12 Jan 2011 17:59:15 +0300

Hey guys,

I am trying to compile mira 3.2.1 on  RHEL 5.4 on ppc64. My command line
is the following: 

CFLAGS='-m64' CXXFLAGS='-m64' LDFLAGS="-L/usr/local/lib
-L/usr/local/lib64" ./configure --prefix=/usr/local
--with-expat-lib="/usr/local/lib64" --with-expat-inc=/usr/local/include

The compilation gets stuck when the linker is trying to link against the
system's libexpat, which is the wrong version. I got my own version under
/usr/local/{lib,lib64} :

libtool: link: g++ -pthread -I/usr/include -DPUBLICQUIET -DAJ_Linux64 -m64
-I/usr/local/include -O3 -funroll-loops -pthread -I/usr/include -o
mira_101 mira_101.o  -L/root/src/mira-3.2.1/src/io
-L/root/src/mira-3.2.1/src/util -L/root/src/mira-3.2.1/src/errorhandling
-L/root/src/mira-3.2.1/src/mira -L/root/src/mira-3.2.1/src/examine
-L/root/src/mira-3.2.1/src/EdIt -L/root/src/mira-3.2.1/src/caf
-L/root/src/mira-3.2.1/src/knn_abi373 -L/root/src/mira-3.2.1/src/knn_alf
-L/usr/lib -L/usr/local/lib -L/usr/local/lib64 -lmira -lmiraEdIt
-lmiraExamine -lmirasupport -lmiraestass -lmiraerrorhandling -lmirautil
-lmiradptools -lmirafio -lmiracaf -lmiraKNN_abi373 -lm
/usr/lib/libexpat.so -lboost_thread -lboost_regex -lz -pthread
/usr/lib/libexpat.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[2]: *** [mira_101] Error 1
make[2]: Leaving directory `/root/src/mira-3.2.1/src/examples_programming'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/src/mira-3.2.1/src'
make: *** [all-recursive] Error 1


Any clues, please?

Thank you,
----
George Marselis, systems administrator
Building #2, Level 4, room 4327
Computational Bioscience Research Center, KAUST
Land: +966-2-808-294, Mobile: +966-56-321-7714, Skype: project2501a






--
You have received this mail because you are subscribed to the mira_talk mailing 
list. For information on how to subscribe or unsubscribe, please visit 
http://www.chevreux.org/mira_mailinglists.html

Other related posts: