[Build/Install] Building graphviz for SLES9 running on PPC64
Ported Issue from Mantis Original ID: 705 Reported By: Jenett Tillotson
SEVERITY: MAJOR Submitted: 2007-04-11 02:06:02
We are trying to building graphviz on a IBM JS21 blade (PPC 64-bit) which runs SUSE Linux Enterprise Server 9. We get this error part-way through the build process:
gcc -shared .libs/gvrender.o .libs/gvlayout.o .libs/gvdevice.o .libs/gvloadimage.o .libs/gvcontext.o .libs/gvjobs.o .libs/gvevent.o .libs/gvplugin.o .libs/gvconfig.o .libs/gvtextlayout.o .libs/gvusershape.o .libs/gvc.o .libs/no_builtins.o .libs/demand_loading.o -Wl,--whole-archive ../../lib/common/.libs/libcommon_C.a ../../lib/pack/.libs/libpack_C.a -Wl,--no-whole-archive -Wl,--rpath -Wl,/N/soft/build/graphviz-2.12/lib/cdt/.libs -Wl,--rpath -Wl,/N/soft/build/graphviz-2.12/lib/graph/.libs -Wl,--rpath -Wl,/N/soft/build/graphviz-2.12/lib/pathplan/.libs -L/N/soft/build/graphviz-2.12/lib/cdt/.libs -L/usr/local/lib ../../lib/cdt/.libs/libcdt.so ../../lib/graph/.libs/libgraph.so ../../lib/pathplan/.libs/libpathplan.so /usr/lib64/libexpat.so /usr/lib/libexpat.so -lz /usr/lib/libltdl.so -Wl,-soname -Wl,libgvc.so.3 -o .libs/libgvc.so.3.0.0 /usr/lib64/libexpat.so: could not read symbols: Invalid operation collect2: ld returned 1 exit status make: *** [libgvc.la] Error 1 make: Leaving directory `/N/soft/build/graphviz-2.12/lib/gvc' make: *** [all-recursive] Error 1 make: Leaving directory `/N/soft/build/graphviz-2.12/lib' make: *** [all-recursive] Error 1 make: Leaving directory `/N/soft/build/graphviz-2.12' make: *** [all] Error 2
It appears to me that the build is trying to use 32-bit libraries and
is unable to link them along with 64-bit libraries when building 64-bit.
This behavior seems strange.
Do you have any suggestions? We have a researcher who is researching
Rgraphviz and really needs this software to run on our architecture.
Thanks in advance,
## ADDITIONAL INFORMATION
[ellson] Somehow it has both: /usr/lib64/libexpat.so /usr/lib/libexpat.so and probably only needs the former.
What do you see from:
grep -i expat config.status ?