Bug 163183 - acroread complains about missing library libJP2K.so
Summary: acroread complains about missing library libJP2K.so
Status: RESOLVED WONTFIX
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Commercial (show other bugs)
Version: Beta 9
Hardware: Other SuSE Linux 10.1
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: George Horlacher
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-04 09:57 UTC by Klaus Singvogel
Modified: 2006-08-30 22:51 UTC (History)
1 user (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
PPD for LaserJet 4100 (old, used, acroread shows "letter") (49.43 KB, application/octet-stream)
2006-06-26 09:25 UTC, Harald Koenig
Details
PPD for LaserJet 5M (acroread shows "A4") (20.12 KB, application/octet-stream)
2006-06-26 09:26 UTC, Harald Koenig
Details
current PPD for HPLJ4100 from linuxprinting.org, shows "letter" in acrored too (64.16 KB, application/octet-stream)
2006-06-26 09:27 UTC, Harald Koenig
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Klaus Singvogel 2006-04-04 09:57:18 UTC
acroread complains about missing library libJP2K.so
The library is part of the acroread package itself, but the linker isn't told about the additional search path.

Solution fix the specfile in adding an appropriate %ldconfig call in %post and %postun. I'm unsure whether there is a simple way to add /usr/X11R6/lib/Acrobat7/Reader/intellinux/lib/ to /etc/ld.conf or not. At least it should be added/removed before %ldconfig is called.
Comment 2 Harald Koenig 2006-06-26 09:25:32 UTC
Created attachment 91538 [details]
PPD for LaserJet 4100 (old, used, acroread shows "letter")
Comment 3 Harald Koenig 2006-06-26 09:26:23 UTC
Created attachment 91539 [details]
PPD for LaserJet 5M (acroread shows "A4")
Comment 4 Harald Koenig 2006-06-26 09:27:14 UTC
Created attachment 91540 [details]
current PPD for HPLJ4100 from linuxprinting.org,  shows "letter" in acrored too
Comment 5 Harald Koenig 2006-06-26 12:19:46 UTC
(In reply to comment #4)
> Created an attachment (id=91540) [edit]
> current PPD for HPLJ4100 from linuxprinting.org,  shows "letter" in acrored too

sorry for those 3 attachments with PPDs.  they should have gone to bug #163163, but obviously something went wrong (don't know what because I haven't looked into this bug before).

is it possible (for me???? only for you?)  to move/relink/reference  those attachments to bug #163163 ?

sorry & thanks!
Comment 6 George Horlacher 2006-06-27 21:26:42 UTC
I cannot relink these attachments.  Can you add them to the correct bug please?
Also make sure you try the 7.0.8 version of acroread coming out, there have been security fixes and the information was given to them before releasing it so there might be some further changes that would effect your printing.


As far as this bug: "acroread complains about missing library libJP2K.so"
The Adobe ReadMe.htm file has this information about the problem:
--->
Error message appears during startup. If the message "Error while loading shared libraries: libJP2K.so: cannot restore segment prot after reloc: Permission denied" appears, libraries are being blocked by SELinux because of insufficient permissions. To fix it run the script <adobe_install_dir> /Reader/Patch/selinux_patch with root permissions to set up the file contexts properly (make sure restorecon and setfiles usually found under /sbin or /usr/sbin exist in the PATH). If the problem persists, turn off SELinux by typing the command setenforce 0  as root.
--->
I have not had the problem myself on nld 9 or SuSE 10.1.
Comment 7 Klaus Singvogel 2006-06-28 08:48:42 UTC
If this script doesn't harm anything in the system, can we add it to the %Post section then?
Comment 8 Klaus Singvogel 2006-06-28 09:00:35 UTC
Two comments:
a) we don't have SELinux in SUSE Linux (we use AppArmor :). Therefore the above mentioned selinux_patch fails:
  selinux_patch: line 106: restorecon: command not found
  selinux_patch: line 150: setfiles: command not found
b) the correct error message in the popup window is:
---------------------------------------------------------------
There was an error while loading the plug-in 'PKKLite.api'.
The plug-in failed to initialize.
---------------------------------------------------------------
Comment 9 George Horlacher 2006-08-14 23:08:03 UTC
Here is from the ReadMe.htm shipping with acroread package:

PPKLite.api fails to load. PPKLite requires the installation of the OpenLDAP package and fails to initialize in its absence. If you get this error when acroread starts, you need to install the LDAP libraries (OpenLDAP package). If PPKLite still fails to load, do one of the following:

    * On Linux, make a link to the installed libldap.so.X and liblber.so.X in <adobe_install_dir> /Reader/intellinux/lib with the names libldap.so and liblber.so .

See if this work around fixes your trouble.
Comment 10 George Horlacher 2006-08-30 22:51:43 UTC
Since problem is in the readme, I'm closing this as wontfix.