recompile with -fpic
From WebHostingNeeds.com
/usr/bin/ld: /usr/local/lib/libjpeg.a(jcparam.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libjpeg.a: could not read symbols: Bad value
This error happens when you compile software on 64 bit CPU.
To fix the error, before you start installing the software, run
CFLAGS="-fPIC";export CFLAGS
Some times, you may get the error even after you have done this. In that cause, this is due to some other software that is needed to install the software is not installed for 64 bit CPU and need to reinstall.