Bugzilla – Bug 163183
acroread complains about missing library libJP2K.so
Last modified: 2006-08-30 22:51:43 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.
Created attachment 91538 [details] PPD for LaserJet 4100 (old, used, acroread shows "letter")
Created attachment 91539 [details] PPD for LaserJet 5M (acroread shows "A4")
Created attachment 91540 [details] current PPD for HPLJ4100 from linuxprinting.org, shows "letter" in acrored too
(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!
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.
If this script doesn't harm anything in the system, can we add it to the %Post section then?
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. ---------------------------------------------------------------
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.
Since problem is in the readme, I'm closing this as wontfix.