Could not launch Adobe Reader 9.5.1. Please make sure it exists in PATH variable in the environment. If the problem persists, please reinstall the application.

Asked by Janine on 2012-09-28

Can someone explain how to fix this please?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu acroread Edit question
Assignee:
No assignee Edit question
Last query:
2012-11-02
Last reply:
2013-02-26

Where did you install the application to?
How did you install it?
What is the output of:

lsb_release -a; uname -a

Thanks

Janine (redreactions) said : #2

Hi
I used the software centre to install. I have removed and re-installed a couple of times without any change.

output:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise
Linux J-cREAtions 3.2.0-31-generic-pae #50-Ubuntu SMP Fri Sep 7 16:39:45 UTC 2012 i686 athlon i386 GNU/Linux

Thanks

ok, in terminal run:

acroread

What is output?

Thanks

Janine (redreactions) said : #4

Hi
It opens abobe reader in a new window, no output in terminal

Thanks

if you press ALT+F2 and type:

acroread

does it appear in dash?

Janine (redreactions) said : #6

Hi
Yes it does

So is there still an issue?

Janine (redreactions) said : #8

Yes.
Nothing has changed. any time I go to a website that needs to use adobe reader I get the same message (as title of thread). Occassionally there is an option to download the thing, I can then go a long way aorund by downloading, opening reader sereatly then using the reader menu to 'open' the item by navigating to where it is downloaded to.
But many times there is no option to download and even when there is it's a huge inconvenience and time waster. I can't even read an attachment on an email without saving it somewhere first then opening reader and navigating back to the item. That's really not right.

Something is missing somewhere.

So you need to tell your web browser to open PDFs with acroread, is that right?

Janine (redreactions) said : #10

Hmmm...I suppose so yes. I hadn't thought of it that way.
I've never had to set that up before, it's always be automatic?

Janine (redreactions) said : #11

I've just checked on my fire fox plugins and adobe reader 9.5 is enabled and up to date (28/9/2012). Don't know what else I need to do?

Janine (redreactions) said : #12

Hi
I still need help with this. Anyone?

What is the output of:

which acroread

Thanks

Janine (redreactions) said : #14

Hi

/usr/bin/acroread

Thank you

N1ck 7h0m4d4k15 (nicktux) said : #15

As a workaround you can enable the Build-in feature PDF opening in Firefox.

Look here how : http://www.liberiangeek.net/2012/09/enable-firefoxs-built-in-pdf-reader/

Thanks

Janine (redreactions) said : #16

Hi
thanks for the link. I followed as it said. Same problem still exists, no change.

Janine (redreactions) said : #17

Hi, I still need help with this please.
Anyone?

Janine (redreactions) said : #18

I'm really struggling with this, can anyone offer some help please?

I can't open acroread at all. My case is a bit different though. I'm getting "Cannot open shared object file: No such file or directory."

james@james-Ultra20-M2:~$ lsb_release -a; uname -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.10
Release: 12.10
Codename: quantal
Linux james-Ultra20-M2 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

james@james-Ultra20-M2:~$ acroread
dirname: missing operand
Try `dirname --help' for more information.
/opt/Adobe/Reader9/Reader/intellinux/bin/acroread: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory

james@james-Ultra20-M2:~$ /opt/Adobe/Reader9/Reader/intellinux/bin/acroread/opt/Adobe/Reader9/Reader/intellinux/bin/acroread: error while loading shared libraries: libBIB.so: cannot open shared object file: No such file or directory

What is the output of:

sudo updatedb; locate libxml2

The updatedb command may take a while to run.

taj (othertaj) said : #21

Same problems here, looks like a bug.

$ lsb_release -a; uname -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise
Linux Linux 3.2.0-32-generic #51-Ubuntu SMP Wed Sep 26 21:32:50 UTC 2012 i686 i686 i386 GNU/Linux

$ acroread
works allright, version 9.5.1

$ /opt/Adobe/Reader9/Reader/intellinux/bin/acroread
/opt/Adobe/Reader9/Reader/intellinux/bin/acroread: error while loading shared libraries: libBIB.so: cannot open shared object file: No such file or directory

I am unable to view a document in Firefox. It says download but does not show.

I suggest to file a bug report.

ok, run:

sudo updatedb; locate libBIB

The first part of the command will take a while, what is output (if anything)?

Thanks

taj (othertaj) said : #23

$ sudo updatedb; locate libBIB
/opt/Adobe/Reader9/Reader/intellinux/lib/libBIB.so
/opt/Adobe/Reader9/Reader/intellinux/lib/libBIB.so.1.2
/opt/Adobe/Reader9/Reader/intellinux/lib/libBIBUtils.so
/opt/Adobe/Reader9/Reader/intellinux/lib/libBIBUtils.so.1.1

Also checked according to http://unix.stackexchange.com/questions/45011/acroread-firefox-plugin-ubuntu-12-04-issues

$ ldd /opt/Adobe/Reader9/Reader/intellinux/bin/acroread | grep not
 libBIB.so => not found
 libBIBUtils.so => not found
 libACE.so => not found
 libAGM.so => not found
 libCoolType.so => not found
 libAXE8SharedExpat.so => not found
 libJP2K.so => not found
 libAdobeXMP.so => not found
 libicuuc.so.36 => not found
 libResAccess.so => not found

Unfortunately no solution was provided on the website.

$ sudo updatedb; locate libBIBUtils.so
/opt/Adobe/Reader9/Reader/intellinux/lib/libBIBUtils.so
/opt/Adobe/Reader9/Reader/intellinux/lib/libBIBUtils.so.1.1

$ sudo updatedb; locate libACE.so
/opt/Adobe/Reader9/Reader/intellinux/lib/libACE.so
/opt/Adobe/Reader9/Reader/intellinux/lib/libACE.so.2.13

etc. All unfound libraries seem to be in /opt/Adobe/Reader9/Reader/intellinux/lib/

$ ldd /opt/Adobe/Reader9/Reader/intellinux/bin/acroread
<long output>

Libraries in /usr/lib/i386-linux-gnu/ are found.
As a workaround, what if we make links in /usr/lib/i386-linux-gnu/ to the libraries in /opt/Adobe/Reader9/Reader/intellinux/lib/ ?

cd /usr/lib
sudo ln -s /opt/Adobe/Reader9/Reader/intellinux/lib/libBIB.so .
sudo ln -s /opt/Adobe/Reader9/Reader/intellinux/lib/libBIB.so.1.2 .
sudo ln -s /opt/Adobe/Reader9/Reader/intellinux/lib/libBIBUtils.so .
sudo ln -s /opt/Adobe/Reader9/Reader/intellinux/lib/libBIBUtils.so.1.1 .

The fullstops are intentional. May help :)

taj (othertaj) said : #25

OK I created all symbolic links

The good news:
$ ldd /opt/Adobe/Reader9/Reader/intellinux/bin/acroread | grep not
does not give any more output

The bad news:
$ /opt/Adobe/Reader9/Reader/intellinux/bin/acroread
/opt/Adobe/Reader9/Reader/intellinux/bin/acroread must be executed from the startup script.

I guess that the startup script linked /opt/Adobe/Reader9/Reader/intellinux/lib/ because acroread already worked for me.

PDF still does not open with adobe reader in Firefox, now I only get a black screen, no message. I can only save PDF now. The original question is also about PDF in Firefox

Alternatives to Acrobat Reader:
1) Link to Evince: in Preferences - Applications - PDF Document - Action - Use Other fill in: /usr/bin/evince
2) PDF Viewer plugin for Mozilla: https://addons.mozilla.org/en-US/firefox/addon/pdfjs/

Janine (redreactions) said : #26

I still can't open any pdfs. It's been months now :(

I follow Post #24
and
sudo apt-get install ia32-libs

works for me

As a workaround you can use this to launch acroread from firefox:

* in Firefox go to Edit > Preferences > Applications
* search for PDF document and click on "use other..." next to it
* select the "acroread" executable from the folder where you installed Adobe Reader
* press Close

Adobe Reader should now be launched when you click on a PDF file.
Getting Adobe Reader inside Firefox (like a webpage) never worked though.
You need to launch it externally as I describe here.

Hope this helps anyone...

qinmoons (qinmoons) said : #29

To: Janine (redreactions)

I suggest you to:

ps -u usrname(your usrname)

If you see there's acroread running. Manually kill it and restart acroread.

ps -u $USER

is a universal command. the $USER bit will be replaced by the username. Using variables like $USER makes things a lot easier, especially in scripts

Can you help with this problem?

Provide an answer of your own, or ask Janine for more information if necessary.

To post a message you must log in.