LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-23-2005, 04:12 AM   #1
apachedude
Member
 
Registered: Aug 2004
Location: California
Distribution: SuSE 10.0 (SUPER)
Posts: 356

Rep: Reputation: 31
Adobe Acrobat 7 - Plugin for Firefox broken


I'm running Slackware 10.1 with KDE 3.4. Relevant applications include Pat V's official Firefox 1.0.1 build and the official acroread version 7. This problem has lasted two days, since I reinstalled my system to upgrade to the new KDE (and Slackware).

Formerly, with the nppdf.so plugin in the appropriate directory, I could view pdf files within firefox. Now, whether I symlink or copy nppdf.so, the behavior is broken. Firefox loads a blank page within the tab, as though it tries to render the pdf, but doesn't do anything. The tab is completely blank--neither any components of the acroread application nor the pdf are visible.

I'm suspecting that it may not be an issue with Slackware, KDE, Firefox, or acroread, but rather, it may have something to do with the way I copied the ~/.mozilla configuration files from my previous installation. However, I was rather conservative with that, and I don't think I copied anything that has to do with acroread. Does anyone know what's going on?

Edit->Preferences->Downloads->Plug-ins does not display anything pertaining to nppdf.so or acroread. I've tried both ~/.mozilla/plugins and /usr/lib/firefox/plugins. Same exact behavior.

Last edited by apachedude; 03-23-2005 at 04:14 AM.
 
Old 03-23-2005, 07:24 AM   #2
junme
Member
 
Registered: Oct 2004
Location: ~/.au
Distribution: Mepis Kanotix SUSE
Posts: 189

Rep: Reputation: 31
there are 2 "nppdf.so"s
/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so ...and
~/.mozilla/plugins/nppdf.so
check that they are executable
and the symlink
ln -s /usr/local/Adobe/Acrobat7.0/bin/acroread /usr/X11R6/bin/acroread
hope this helps
 
Old 03-24-2005, 08:05 PM   #3
apachedude
Member
 
Registered: Aug 2004
Location: California
Distribution: SuSE 10.0 (SUPER)
Posts: 356

Original Poster
Rep: Reputation: 31
Quote:
Originally posted by junme
there are 2 "nppdf.so"s
/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so ...and
~/.mozilla/plugins/nppdf.so
check that they are executable
and the symlink
ln -s /usr/local/Adobe/Acrobat7.0/bin/acroread /usr/X11R6/bin/acroread
hope this helps
Everything is as you described, but it still doesn't work. This might be a firefox problem.
 
Old 03-25-2005, 03:37 AM   #4
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
It works fine for me on CentOS and Slackware 10.1 using Firefox 1.0.2.
 
Old 03-25-2005, 06:12 AM   #5
trevelluk
Member
 
Registered: Nov 2003
Location: Bristol, UK
Distribution: Debian Lenny, Gentoo (at work)
Posts: 388

Rep: Reputation: 32
I used to have this problem with Firefox and Acrobat on Windows (I can't use Linux at work ). It was fixed after I reinstalled Acrobat. Is that an option for you?
 
Old 03-25-2005, 06:30 AM   #6
maenho
Member
 
Registered: Nov 2003
Location: Belgium
Posts: 81

Rep: Reputation: 15
if you start firefox from the command line and try to view a pdf file, does it give any error message?t
 
Old 03-25-2005, 05:32 PM   #7
apachedude
Member
 
Registered: Aug 2004
Location: California
Distribution: SuSE 10.0 (SUPER)
Posts: 356

Original Poster
Rep: Reputation: 31
Quote:
Originally posted by maenho
if you start firefox from the command line and try to view a pdf file, does it give any error message?t
Yes, it does. I'm not sure why trying this hadn't occurred to me, but thanks for the idea.

Quote:
*** glibc detected *** free(): invalid next size (fast): 0x090fcbe0 ***
What am I supposed to read from this?
 
Old 03-27-2005, 02:06 AM   #8
henno
Member
 
Registered: Aug 2003
Location: Brisbane, Australia
Distribution: slackware-current
Posts: 30

Rep: Reputation: 15
I am using Slackware 10.1 and the plugin works fine for me, in firefox 1.0.2, galeon, epiphany, opera and konqueror.

I launched acroread from the command line, however, and I do not get any errors. That must be the key.
 
Old 03-27-2005, 02:41 AM   #9
apachedude
Member
 
Registered: Aug 2004
Location: California
Distribution: SuSE 10.0 (SUPER)
Posts: 356

Original Poster
Rep: Reputation: 31
I just upgraded to firefox 1.0.2. Same problem
 
Old 03-29-2005, 05:56 AM   #10
geep9995
LQ Newbie
 
Registered: Aug 2004
Posts: 5

Rep: Reputation: 0
Hi,

I have a similar problem - Adobe Acrobat 7 seems to read the page but all
I see is a grey blank page.

My configuration is Slack 10, Kernel 2.4.26 and using Mozilla 1.7

I saw that Acrobat started as I had just created a new User ID and was
trying Acobat for the first time - it came up with the message about accepting terms and conditions.
 
Old 04-13-2005, 10:10 PM   #11
bazald
LQ Newbie
 
Registered: Oct 2003
Location: Ann Arbor, Michigan
Distribution: Fedora Core 3
Posts: 2

Rep: Reputation: 0
su -c '
#as root
rpm -ev mozplugger
#change version number as needed
cp -s /usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so /usr/lib/firefox-1.0.2/plugins/
'
 
Old 04-15-2005, 10:23 AM   #12
Dr_P_Ross
Member
 
Registered: Nov 2003
Location: Edinburgh, UK
Distribution: Arch
Posts: 41

Rep: Reputation: 18
Hi,

Concerning the problem that, with Acrobat Reader 7.0, some people get just a blank grey screen when trying to read PDF files:

PDF is handled by the nppdf.so plugin, and there is a new one specifically for Acroread 7.0; if Firefox is finding the older one, you get the grey screen.

First, find out where Firefox is looking for nppdf.so by examining the file ~/.mozilla/pluginreg.dat. In my case, Firefox was looking for it as /usr/lib/mozilla/plugins/nppdf.so, but your system may differ. Wherever it is, as root, move it out of the way and instead
add a symbolic link to /usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so. For example:

# cd /usr/lib/mozilla/plugins (or wherever)
# mv nppdf.so /tmp (we're being cautious here, not deleting yet)
# ln -s /usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so

and then restart Firefox. If it's OK, you can zap that old nppdf.so

What's the difference? The old one constructs a specific command line, starting (eg):
acroread -display :0.0 ....etc....
that acroread 7.0 doesn't accept, so it emits a usage message to standard error and exits -- hence the grey screen.
 
Old 04-15-2005, 01:15 PM   #13
bazald
LQ Newbie
 
Registered: Oct 2003
Location: Ann Arbor, Michigan
Distribution: Fedora Core 3
Posts: 2

Rep: Reputation: 0
Dr_P_Ross: You missed one thing that my commands handle. "mozplugger" conflicts with the acrobat reader plugin, causing pdf documents not to display at all. If mozplugger is installed, trouble will had no matter how many times people reinstall and/or copy over nppdf.so. I don't know if there is a way to configure mozplugger to use the acrobat reader plugin successfully.
 
Old 04-27-2005, 05:16 AM   #14
dragoneer
LQ Newbie
 
Registered: Apr 2005
Posts: 1

Rep: Reputation: 0
Acrodread 7.0, Firefox, and all that...

Hi,

I'm running Fedora 3, firefox 1.0.2 and just managed to get the Acroreader 7.0 working after jumping through some hoops.

First, copy the relevent nppdf.so file into your firefox plugins directory. (not new news here)

Secondly, if you take a look at "aboutlugins" in your firefox address bar, you will probably find that mozplugger and acroreader are both configured to display pdf files. And this seems to create a conflict resulting a null display in firefox for any pdf files. So, we have to configure the mozplugger to ignore pdf.

Do a "locate" on mozpluggerrc; you'll probably find it as: /etc/mozpluggerrc. Log on as super user and open mozpluggerrc in your favourite text editor. Search for the "pdf" character string to find the section in the file pertaining to control of pdf files. It will probably look something like the following:
--------------------------------------------------
application/pdf: pdf: PDF file
application/x-pdf: pdf: PDF file
text/pdf: pdf: PDF file
text/x-pdf: pdf: PDF file
repeat swallow(acrobatreader) fill: acroread -geometry +9000+9000 +useFrontEndProgram -tempFileTitle acrobatreader "$file"
repeat swallow(documentShell) fill: acroread -geometry +9000+9000 +useFrontEndProgram "$file"
repeat noisy swallow(Xpdf) fill: xpdf -g +9000+9000 "$file"
-------------------------------------------------------------------

COMMENT OUT THESE LINES!! Use the "#" character at the beginning of each line to do so.

Not done yet, one more final step to perform. If you do a "man mozplugger" you'll find the final step at the bottom of the man page, in the "BUGS" section. You have to delete the file named, "pluginreg.dat" in ~/.mozilla/firefox/ for the changes to the mozpluggerrc to take effect. Voila, you should have a working Acroreader 7 for firefox.

Last edited by dragoneer; 04-27-2005 at 05:17 AM.
 
Old 05-03-2005, 07:08 AM   #15
hyllplan
Member
 
Registered: Nov 2004
Location: Stockholm, Sweden
Distribution: Debian (Sarge), Red Hat, Ubuntu, Knoppix
Posts: 99

Rep: Reputation: 15
I have the same exact problem
Firefox 1.0.3, running Debian Sarge
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox Acrobat plugin eightbits Linux - Software 1 09-18-2005 07:29 AM
Adobe 7 Plugin + Firefox Problem Kenji Miyamoto Linux - Software 2 05-25-2005 01:57 PM
Adobe Acrobat for Linux...? serji Linux - Software 17 03-21-2005 03:45 AM
Adobe Acrobat again... markelliott101 Linux - General 9 12-05-2002 05:25 AM
Adobe Acrobat piranha Linux - General 1 01-16-2002 08:22 AM


All times are GMT -5. The time now is 09:17 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration