← Back to team overview

canonical-partner-dev team mailing list archive

[Bug 571247] Re: acroread remains zombie, so pdfs won't be rendered anymore

 

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.

-- 
You received this bug notification because you are a member of Canonical
Partner Developers, which is subscribed to acroread in Ubuntu.
https://bugs.launchpad.net/bugs/571247

Title:
  acroread remains zombie, so pdfs won't be rendered anymore

To manage notifications about this bug go to:
https://bugs.launchpad.net/nspluginwrapper/+bug/571247/+subscriptions