I can confirm that the LD_PRELOAD method does not work in a x86_64 environment (with 64-bit firefox). The acroread_exec_monitor.so does not preload even if compiled with the -fPIC option. I did not really try to understand why.
However, as suggested by swt-techie, one can compile acroread_interceptor with -m32 and use it to replace acroread on-disk as described in the source code header.
Steps to follow if you are on a x86_64 system:
* change the following line in build_interceptor.sh
- gcc -Wno-format-security -ggdb -o acroread_interceptor acroread_interceptor.c
+ gcc -m32 -Wno-format-security -ggdb -o acroread_interceptor acroread_interceptor.c
* run build_interceptor.sh
* in /opt/Adobe/Reader9/Reader/intellinux/bin, rename "acroread" to "acroread.original"
* copy the compiled "acroread_interceptor" to /opt/Adobe/Reader9/Reader/intellinux/bin and rename it to "acroread"
* make sure the new "acroread" is executable for all users
This got me rid of this Adobe bug on Oneriric x86_64. Many thanks to Massimiliano for sharing his code.
I can confirm that the LD_PRELOAD method does not work in a x86_64 environment (with 64-bit firefox). The acroread_ exec_monitor. so does not preload even if compiled with the -fPIC option. I did not really try to understand why.
However, as suggested by swt-techie, one can compile acroread_ interceptor with -m32 and use it to replace acroread on-disk as described in the source code header.
Steps to follow if you are on a x86_64 system:
* change the following line in build_intercept or.sh security -ggdb -o acroread_ interceptor acroread_ interceptor. c security -ggdb -o acroread_ interceptor acroread_ interceptor. c or.sh Reader9/ Reader/ intellinux/ bin, rename "acroread" to "acroread.original" interceptor" to /opt/Adobe/ Reader9/ Reader/ intellinux/ bin and rename it to "acroread"
- gcc -Wno-format-
+ gcc -m32 -Wno-format-
* run build_intercept
* in /opt/Adobe/
* copy the compiled "acroread_
* make sure the new "acroread" is executable for all users
This got me rid of this Adobe bug on Oneriric x86_64. Many thanks to Massimiliano for sharing his code.