Failed to build graphviz. "error adding symbols: File in wrong format"
I have been building a CentOS 7 system from scratch to have the toolset required for a development project. I have already successfully installed the latest versions of the following packages:
autoconf (v2.69) automake (v1.16) bison (v3.0) cmake (v3.11.4) gcc (v7.3.0) gettext (v0.19.8.1) git (v2.17.1) help2man (v1.47.6) indent (v2.2.10) m4 (v1.4.17) perl (v5.26.2) texinfo (v6.5)
When I then try to build graphviz (v2.40.1), the make dies on the edgepaint source with the following error:
/usr/local/lib/../lib/libstdc++.so: error adding symbols: File in wrong format collect2: error: ld returned 1 exit status make: *** [edgepaint] Error 1 make: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 make: *** [all] Error 2
I have attached the output of the ./configure, the resultant Makefile, and the make output.