[Pacemaker] Cross-compiling Cluster Glue?

Fredrik Arnerup fredrik.arnerup at edgeware.tv
Mon Aug 16 10:43:06 EDT 2010


Is this the right forum for asking about Cluster Glue?

I'm trying to cross-compile Reusable-Cluster-Components-ba146a145a3e for
but it tries to link against libltdl on the intel host.

ppc_85xx-gcc -std=gnu99 -g -O2 -ggdb3 -O0 -fgnu89-inline
-fstack-protector-all -Wall -Waggregate-return -Wbad-function-cast
-Wcast-qual -Wcast-align -Wdeclaration-after-statement -Wendif-labels
-Wfloat-equal -Wformat=2 -Wformat-security -Wformat-nonliteral -Winline
-Wmissing-prototypes -Wmissing-declarations -Wmissing-format-attribute
-Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith
-Wstrict-prototypes -Wwrite-strings -ansi -D_GNU_SOURCE -DANSI_ONLY -Werror
-o ipctest ipctest.o  ./.libs/libplumb.a
../../replace/.libs/libreplace.a ../../lib/pils/.libs/libpils.a -lbz2 -lc
-luuid -lrt -lglib-2.0 /usr/lib/libltdl.so -ldl
/usr/lib/libltdl.so: could not read symbols: File in wrong format

I can't figure out how to change the path to libltdl.so.
I can't see that --enable-bundled-ltdl makes any difference.

Any ideas?
/Fredrik Arnerup

More information about the Pacemaker mailing list