How can I set ccshared=-fPIC while executing ./configure?

后端 未结 9 765
北荒
北荒 2021-02-02 10:56

I am trying to build Python 2.6 for QGIS on RHEL 5. During the making of QGIS I get the following error:

Linking CXX shared library libqgispython.so
/usr/bin/ld:         


        
9条回答
  •  暖寄归人
    2021-02-02 11:49

    Run configure with --enable-shared. Then -fPIC will be included as part of the shared flags.

提交回复
热议问题