When I try and compile using the build_interceptor.sh I get the following error:
/usr/bin/ld: /tmp/ccUBMQ7v.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/tmp/ccUBMQ7v.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
I add the -fPIC switch to the build_interceptor.sh file and it compiles fine but when I try and load a pdf file it gives an error saying that it couldn't load the shared library acroread_exec_monitor.so.
When I try and compile using the build_intercept or.sh I get the following error:
/usr/bin/ld: /tmp/ccUBMQ7v.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/tmp/ccUBMQ7v.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
I add the -fPIC switch to the build_intercept or.sh file and it compiles fine but when I try and load a pdf file it gives an error saying that it couldn't load the shared library acroread_ exec_monitor. so.
I am using Ubuntu 11.10 x86_64. Any ideas?