If you get the following error during a curl compile with a 64-bit system:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/libssl.a(s2_clnt.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/libssl.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
In this case, the solution is to set curl to not use fPIC or shared libraries.
Edit the build script. In the doCURL section, find the line:
./configure --disable-file
and change it to:./configure --disable-file --without-pic --disable-shared
Save/exit.Then type:
./build curl
and that should compile curl for you.