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:
I got it working with:
./configure --enable-shared --enable-pic