Number: 1116
Title: Building graphviz for SLES9 running on PPC64
Submitter: Jenett Tillotson
Date: Tue Apr 10 21:06:02 2007
Subsys: Build/Installation
System: PowerPC-Linux-SLES9
Severity: major
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/ ../../lib/graph/.libs/ ../../lib/pathplan/.libs/ /usr/lib64/ /usr/lib/ -lz /usr/lib/  -Wl,-soname -Wl, -o .libs/
/usr/lib64/ could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[3]: *** [] Error 1
make[3]: Leaving directory `/N/soft/build/graphviz-2.12/lib/gvc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/N/soft/build/graphviz-2.12/lib'
make[1]: *** [all-recursive] Error 1
make[1]: 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,

Jenett Tillotson
System Administrator for BigRed
Research and Technical Services
Indiana University

[ellson] Somehow it has both: /usr/lib64/ /usr/lib/ and probably only needs the former.

What do you see from: grep -i expat config.status ?
Owner: *
Status: *