libxml2 not compilable on Cray, static/dynamic library missmatch

你说的曾经没有我的故事 提交于 2019-12-24 19:02:53

问题


Since I cannot seem to use the available libxml2 (see my other question), I want to compile it myself from scratch. I need to use the Cray wrapped Intel compiler for this.

During the linking stage, I get many of these errors:

ld: attempted static link of dynamic object `./.libs/libxml2.so'

The configure line is this:

libxml2/configure
    --prefix=local-icc
    CC=/opt/cray/pe/craype/2.5.14/bin/cc
    CXX=/opt/cray/pe/craype/2.5.14/bin/CC
    --enable-option-checking
    --host=x86_64-linux-gnu
    --without-zlib
    --without-python
    --without-readline
    --without-threads
    --without-history
    --without-reader
    --without-writer
    --with-output
    --without-ftp
    --without-http
    --without-pattern
    --without-catalog
    --without-docbook
    --without-iconv
    --without-schemas
    --without-schematron
    --without-modules
    --without-xptr
    --without-xinclude
    'CFLAGS=-xAVX2 -O3 -fPIC -std=c99'
    'CXXFLAGS=-xAVX2 -O3 -fPIC'

The same libxml2 works fine on other high performance computing systems, and I can also compile them with the Intel compiler there. What could be the issue of this static/dynamic issue?

来源:https://stackoverflow.com/questions/49347752/libxml2-not-compilable-on-cray-static-dynamic-library-missmatch

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!