PC :
LDFLAGS="-static -L/opt/GC/lib" ./configure
Libraries, we're going to build with are not checked by ldconfig, leads the message "cannot compute sizeof (long long)". With root privilege do the following instead the above;
# ldconfig -m /opt/GC/lib