app-text/acroread-8.1.2-r2 USE="cups nsplugin -ldap -minimal" When trying to display a pdf in Firefox, a message appears; "Could not launch Adobe Reader 8.1.2. Please make sure it exists in PATH variable in the environment. If the prolem persists, please reinstall the application". (re)installed acroread several times, always the same issue. I'm not really sure how and where to change path vars, export didn't worked for me. I just know that there's a link or a path missing. Reproducible: Always Steps to Reproduce: 1. Open firefox 2. Open a website which links to a pdf Actual Results: "Could not launch Adobe Reader 8.1.2. Please make sure it exists in PATH variable in the environment. If the prolem persists, please reinstall the application". Expected Results: PDF shows up Temporary workaround: ln -s /opt/Adobe/Reader8/bin/acroread /usr/bin/acroread
/opt/bin/acroread should be a symlink pointing to /opt/Adobe/Reader8/bin/acroread and thus should be in $PATH, defined by /etc/env.d/00basic which looks like this on my system: PATH="/opt/bin" ROOTPATH="/opt/bin" LDPATH="/usr/local/lib" MANPATH="/usr/local/share/man:/usr/share/man" INFOPATH="/usr/share/info" CVS_RSH="ssh" CONFIG_PROTECT_MASK="/etc/gentoo-release" /etc/env.d/00basic belongs to sys-apps/baselayout-2.0.0, please verify.
(In reply to comment #1) > /opt/bin/acroread should be a symlink pointing to > /opt/Adobe/Reader8/bin/acroread and thus should be in $PATH, defined by > /etc/env.d/00basic which looks like this on my system: > > PATH="/opt/bin" > ROOTPATH="/opt/bin" > LDPATH="/usr/local/lib" > MANPATH="/usr/local/share/man:/usr/share/man" > INFOPATH="/usr/share/info" > CVS_RSH="ssh" > CONFIG_PROTECT_MASK="/etc/gentoo-release" > > /etc/env.d/00basic belongs to sys-apps/baselayout-2.0.0, please verify. > verified, got the same settings but that hadn't worked for me without the symlink.
Could you please post the output of echo $PATH Also, does it fail to launch as well when you start acroread from a X11 terminal?
(In reply to comment #3) re-emerged acroread to double-check, same results. triton / # echo $PATH /sbin:/bin:/usr/sbin:/usr/bin triton / # acroread bash: /usr/bin/acroread: No such file or directory still need to ln -s /opt/Adobe/Reader8/bin/acroread /usr/bin/acroread
(In reply to comment #4) > triton / # echo $PATH > /sbin:/bin:/usr/sbin:/usr/bin Please post the output of echo $PATH when run as the user under which you want to start firefox/acroread, not as root.
sorry, happened in a hurry. pduersteler@triton ~ $ echo $PATH /usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i486-pc-linux-gnu/gcc-bin/4.1.2:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/usr/qt/3/bin
(In reply to comment #6) > sorry, happened in a hurry. No problem. :) > pduersteler@triton ~ $ echo $PATH > /usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i486-pc-linux-gnu/gcc-bin/4.1.2:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/usr/qt/3/bin Looks good to me, /opt/bin is in your path. I'm out of ideas soon.. ls -la /opt/bin/ lrwxrwxrwx 1 root root 31 26. Mär 17:30 acroread -> /opt/Adobe/Reader8/bin/acroread so launching acroread on command line should really work.. what's the exact error message you get after trying to launch acroread from command line (delete your manual created symlink before though)?
that's awkward! Now it works, no idea why this is so. Yesterday i still had the issue and now, after re-merging it the ~ 8 time it works. Can launch it from commandline and firefox also displays pdfs.. Im sorry, really, no idea why this is so. :-/