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:
Run configure with --enable-shared. Then -fPIC will be included as part of the shared flags.
--enable-shared
-fPIC