PDA

View Full Version : [SOLVED] firefox doesn't use Adobe reader plugin



acorlato
17th July 2011, 08:36 PM
I installed FC15 x86_64. I uncluded the Adobe repos and installed

AdobeReader_deu-9.4.2-1.i486

The browser plugin doesn't work in firefox and is not shown by about:plugins.

But nppdf.so is present at three places:

# find /usr -name nppdf.so |xargs ls -logd
lrwxrwxrwx. 1 33 17. Jul 00:46 /usr/lib64/mozilla/plugins/nppdf.so -> /usr/lib/mozilla/plugins/nppdf.so
lrwxrwxrwx. 1 35 17. Jul 18:56 /usr/lib64/mozilla/plugins-wrapped/nppdf.so -> /usr/lib64/mozilla/plugins/nppdf.so
-rwxr-xr-x. 1 179552 17. Jul 18:47 /usr/lib/mozilla/plugins/nppdf.so

Who knows what is missing?

---------- Post added at 09:11 PM ---------- Previous post was at 07:32 PM ----------


I installed FC15 x86_64. I uncluded the Adobe repos and installed

AdobeReader_deu-9.4.2-1.i486

The browser plugin doesn't work in firefox and is not shown by about:plugins.

But nppdf.so is present at three places:

# find /usr -name nppdf.so |xargs ls -logd
lrwxrwxrwx. 1 33 17. Jul 00:46 /usr/lib64/mozilla/plugins/nppdf.so -> /usr/lib/mozilla/plugins/nppdf.so
lrwxrwxrwx. 1 35 17. Jul 18:56 /usr/lib64/mozilla/plugins-wrapped/nppdf.so -> /usr/lib64/mozilla/plugins/nppdf.so
-rwxr-xr-x. 1 179552 17. Jul 18:47 /usr/lib/mozilla/plugins/nppdf.so

Who knows what is missing?

I have to correct the above list of so-files. Perhaps I generated the two symbolic links by myself.. After comlete reinstallation there is left only:

/usr/lib/mozilla/plugins/nppdf.so

After I had a look to an old FC14 system I assume that the wrapping is not correct. There were additional files:

-rwxr-xr-x. 1 179552 25. Feb 18:37 /usr/lib/mozilla/plugins/nppdf.so
-rwxr-xr-x. 1 136560 13. Jun 18:44 /usr/lib64/mozilla/plugins-wrapped/nswrapper_32_64.nppdf.so
-rwxr-xr-x. 1 138192 13. Jun 19:20 /usr/lib/mozilla/plugins-wrapped/nswrapper_32_32.nppdf.so

So I searched a command to make the wraps and found /usr/lib64/nspluginwrapper/plugin-config. But it didn't help. It doesn't create any wrapping file but says "It isn't installed.":

# /usr/lib64/nspluginwrapper/plugin-config -f -c -v
INFO: /usr/lib/nspluginwrapper/npviewer isn't accessible.
INFO: /usr/lib64/nspluginwrapper/npviewer looks ok.
INFO: Processing /usr/lib/mozilla/plugins -> /usr/lib/mozilla/plugins-wrapped
INFO: Check wrap /usr/lib/mozilla/plugins/nppdf.so to /usr/lib/mozilla/plugins-wrapped/nswrapper_32_32.nppdf.so...
INFO: FAIL: /usr/lib/mozilla/plugins-wrapped/nswrapper_32_32.nppdf.so
INFO: It isn't installed.
INFO: Check link /usr/lib/mozilla/plugins/nppdf.so to /usr/lib/mozilla/plugins-wrapped/nppdf.so...
INFO: FAIL: /usr/lib/mozilla/plugins-wrapped/nppdf.so
INFO: Readlink failed.
INFO: FAIL: /usr/lib/mozilla/plugins/nppdf.so
INFO: is correct plugin 1
INFO: can be wrapped 0, is wrapped 0
INFO: can be linked 1, is linked 0
INFO: Trying to reinstall /usr/lib/mozilla/plugins/nppdf.so
INFO: Removing installed plugin /usr/lib/mozilla/plugins/nppdf.so...
INFO: Linking /usr/lib/mozilla/plugins/nppdf.so to /usr/lib/mozilla/plugins-wrapped/nppdf.so...
WARNING: Failed.

How can I create the necessary files in FC15?

---------- Post added at 09:36 PM ---------- Previous post was at 09:11 PM ----------

Neither npconfig helped:

# /usr/lib64/nspluginwrapper/npconfig -i /usr/lib/mozilla/plugins/nppdf.so
nspluginwrapper: no appropriate viewer found for /usr/lib/mozilla/plugins/nppdf.so

I discovered that the package with the command is available for different architectures;

nspluginwrapper.i686 : A compatibility layer for Netscape 4 plugins
nspluginwrapper.x86_64 : A compatibility layer for Netscape 4 plugins

So I installed the i686 variant too and voila, no error message:

/usr/lib/nspluginwrapper/npconfig -n -i /usr/lib/mozilla/plugins/nppdf.so

and the missing files were created:

find /usr -name \*nppdf.so |xargs ls -logd
-rwxr-xr-x. 1 135076 17. Jul 21:29 /usr/lib64/mozilla/plugins/npwrapper.nppdf.so
-rwxr-xr-x. 1 136344 17. Jul 21:29 /usr/lib64/mozilla/plugins-wrapped/nswrapper_32_64.nppdf.so

I have to close my session now to test firefox. If it works I will set this thread solved.