Gentoo and Acrobat Reader Firefox plugin fix

If you use gtk+ with version higher than 2.4.9 you might have noticed that the acrobat reader plugin does not work with firefox. To solve this you have to take certain steps.
mkdir /opt/Acrobat7/Reader/intellinux/lib/gui
ebuild /usr/portage/x11-libs/gtk+/gtk+-2.4.9-r1.ebuild install
cp -ax /var/tmp/portage/gtk+-2.4.9-r1/image/usr/lib/* /opt/Acrobat7/Reader/intellinux/lib/gui/

Now edit ‘acoread’ (/usr/bin/acroread)

find this section in the acroread script:
intellinux)
LD_LIBRARY_PATH="`prepend "$ACRO_INSTALL_DIR/$ACRO_CONFIG/lib:$ACRO_INSTALL_DIR/$ACRO_CONFIG/sidecars" "$LD_LIBRARY_PATH"`"
export LD_LIBRARY_PATH
;;

now modify the LD_LIBRARY_PATH line, ie. the ‘intellinux)’ one to look as follows:
LD_LIBRARY_PATH="`prepend "$ACRO_INSTALL_DIR/$ACRO_CONFIG/lib/gui:$ACRO_INSTALL_DIR/$ACRO_CONFIG/lib:$ACRO_INSTALL_DIR/$ACRO_CONFIG/sidecars" "$LD_LIBRARY_PATH"`"

and you are set 🙂

try the acrobat reader plugin now 🙂

It works for me!

6 Responses to “Gentoo and Acrobat Reader Firefox plugin fix”

  1. Douglas Harris
    June 2nd, 2005 | 17:08
    Using Mozilla Firefox Mozilla Firefox 1.0.4 on Linux Linux

    Thanks so very much. If I had not randomly run across this after googling in desparatoin I might never have gotten my acroreader/firefox going on my new gentoo installation.

    If you know of a place to put this so it would be easier for others please let me know and I will write it up.

  2. site admin
    June 2nd, 2005 | 18:51
    Using Mozilla Firefox Mozilla Firefox 1.0.4 on Linux Linux

    As far as I know…if you google for “gentoo acrobat firefox”, my solution appears as a number one result. I think that’s more than enough…if you want to link my blog to other places, feel free to do so.

    cheers

  3. michael
    September 2nd, 2005 | 01:10
    Using Mozilla Firefox Mozilla Firefox 1.0.5 on Linux Linux

    Your tip has helped me out a lot. Thanks so much. I couldn’t find the 2.4.9 gtk+ ebuild quickly, so I turned to http://ftp.gimp.org for the 2.4.9 source, compiled it quickly, followed your instructions, and it worked just the same. Thanks a lot.

  4. site admin
    September 2nd, 2005 | 03:07
    Using Opera Opera 8.02 on Linux Linux

    I am really glad I helped you on this…It’s great to be able to help someone from just a blog post…

  5. November 17th, 2006 | 19:40
    Using Mozilla Firefox Mozilla Firefox 1.5.0.5 on Windows Windows XP

    Does anyone know the name of the wordpress plugin that creates a list of your posts in a category instead of just displaying them one after the other? I want it so that when someone clicks on a category they just get a list of posts from that category.

    I'm sure Ive seen one…and sifting through the WP site is a nightmare

  6. December 12th, 2006 | 23:48
    Using Mozilla Firefox Mozilla Firefox 1.5.0.5 on Windows Windows XP

    What I want to do on my blog, is every few hours take the oldest post and move it to the
    front of the queue, all automatically. Anyone know if there is a plugin that can do this or
    a simple way to set up another plugin to do this (use my own feed perhaps)?
    Thanks.

Leave a reply