Bug 87404

Summary: Adobe Reader no longer works with www/linuxpluginwrapper
Product: Ports & Packages Reporter: Frank Jahnke <jahnke>
Component: Individual Port(s)Assignee: Norikatsu Shigemura <nork>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Frank Jahnke 2005-10-13 21:30:06 UTC
The location of Acroread7-7.0.1 has changed, and is not reflected in the in the configuration of linuxpluginwrapper 20050910.  This also breaks a symbolic link.  The old acroread7 directory was  something like      /usr/X11R6/share/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so; the new location is /usr/local/lib/acroread/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so 
This also breaks the symbolic link of /usr/X11R6/lib/browser_plugins/nppdf.so.

Even with these issues resolved by hand, the Adobe Reader does not load into either Epiphany (1.6.0 or 1.6.5) or Mozilla (1.7.7 or 1.7.12).  When trying read a PDF file from Mozilla, the shell reports:

LoadPlugin: failed to initialize shared library /usr/local/lib/acroread/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so [/usr/local/lib/acroread/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so: Undefined symbol "__strtol_internal"]
LoadPlugin: failed to initialize shared library /usr/local/lib/acroread/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so [/usr/local/lib/acroread/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so: Undefined symbol "__strtol_internal"]

and the PDF does not load.

The other plugins to lpw, RealPlayer and Flash, work fine.

Fix: 

The paths can be changed manually, but the other problem cited still exists.
How-To-Repeat: Install the current acroread7 and upgrade  the Linux_base and lpw ports.  Attempt to read a PDF              file with either Epiphany or Mozilla.
Comment 1 Marcus Alves Grando freebsd_committer freebsd_triage 2005-10-13 22:08:53 UTC
Responsible Changed
From-To: freebsd-ports-bugs->nork

Over to maintainer.
Comment 2 Toomas.Aas 2005-11-21 20:27:14 UTC
Just reporting a workaround submitted by myfreebsd(at)cox.net on the
freebsd-questions mailing list:

cd /usr/local/bin && ln -s acroread7 acroread

This works for me. My ports are:
acroread7-7.0.1
linuxpluginwrapper-2005091

My OS is:
FreeBSD premium.kodu.lan 6.0-STABLE FreeBSD 6.0-STABLE #0: Mon Nov 14
07:16:47 EET 2005    
toomas@premium.kodu.lan:/usr/obj/usr/src/sys/PREMIUM  i386
Comment 3 defan 2006-09-12 13:24:38 UTC
Hi.

Originally replied for PR
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/101420


I made patch that solves same problem for me
on FreeBSD 6.1-stable and latest acroread and
linuxpluginwrapper ports. You can download it at
http://defan.zenon.net/freebsd/

As I see, other plugins (flash, etc) seems to
be working too with my patch.

--
Andrew N. Below
Zenon N.S.P.
Comment 4 Martin Wilke freebsd_committer freebsd_triage 2008-08-15 00:20:20 UTC
State Changed
From-To: open->closed

Feedback timeout. If you want to update this port, please feel free to 
follow-up this PR so that we can re-open it and find a solution for the 
problem. Thanks!