PDA

View Full Version : acroread does not open in F26



Linefader
11th July 2017, 10:00 AM
after I updated my F25 to F26 acroread said it is unable to locate theme engine murrine in module_path, thus, I installed murrinegtk-murrine-engine.i686 but now, when I run the command acroread, it simply does not open .. Can anybody help?

antikythera
11th July 2017, 10:02 AM
is your fedora installation actually 32-bit? if not you need the x86_64 murrine engine package and not i686

Linefader
11th July 2017, 10:42 AM
Of course, it's 64 bit, but after upgrading to f26 acroread said: unable to locate theme engine murrine

Thus, I googled and found the advice to install also the 32-bit package - now, acroread does not complain anymore - however, it still does not open. Maybe, instead of installing the 32-bit package, the solution woul have been to explicitly add murrine to the module path, but I don't know how to do this. Is anybody running acroread on F26?

jaybot
14th July 2017, 01:08 AM
Same thing here. I just noticed this as well. I used it in 25 just fine. Did a complete wipe and install of 26. Here is the error Im getting when I try and launch it.

Jul 13 19:04:08 acroread[11220]: Unable to locate theme engine in module_path: "adwaita",
Jul 13 19:04:08 acroread[11220]: Unable to locate theme engine in module_path: "adwaita",
Jul 13 19:04:08 acroread[11220]: Failed to load module "pk-gtk-module"
Jul 13 19:04:08 acroread[11220]: Failed to load module "canberra-gtk-module"

antikythera
14th July 2017, 08:24 AM
try uninstalling acrobat reader and re-installing it if you haven't already. also check the dependencies below are installed:

libcanberra-gtk2.i686
adwaita-gtk2-theme.i686
PackageKit-gtk3-module.i686

if it still doesn't work, I'd suggest atril as an alternative document reader for now. Because adobe reader isn't a Fedora Project package you can't really open a bug about this on bugzilla either because they'll just close it straight away. Adobe don't maintain the reader any longer either.

artu72
14th July 2017, 08:28 AM
I am fine with Evince.

RupertPupkin
15th July 2017, 05:47 PM
Seeing the same problem on the F26 install on my work machine. None of the proposed solutions either here on in other forums work. Everything else in the upgrade from F25 worked, Acrobat Reader was the only problem. Luckily it's not a big deal on my machine at work, I can live with that. But for my home machine it might be a deal breaker; I use Acrobat Reader a lot. So I'll hold off on upgrading my home machine until a solution has been found.

jaybot
16th July 2017, 08:58 PM
If anyone wants to try and install the last version of adobe reader for linux on 26 and troubleshoot here is the command to do so.

dnf -y install ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.5.5/enu/AdbeRdr9.5.5-1_i486linux_enu.rpm

antikythera
16th July 2017, 10:21 PM
actually you really need to take out the -y from that command to troubleshoot. the -y switch will automatically input yes for any required user input so you won't know what has been changed or not.

RupertPupkin
17th July 2017, 02:22 AM
If anyone wants to try and install the last version of adobe reader for linux on 26 and troubleshoot here is the command to do so.

dnf -y install ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.5.5/enu/AdbeRdr9.5.5-1_i486linux_enu.rpm
That 9.5.5-1 version is the one I've been using for the last 4 years, and it's the one that doesn't work on my F26 system.

I saved the strace output from my F26 system at work, and tomorrow I'll compare it to the strace output when running Acrobat Reader on my F25 system at home. One thing I noticed was that on the F26 system there were messages saying

Gtk-WARNING **: Unable to locate theme engine in module_path: “adwaita”
and in the strace output the sigsegv occurred after not finding some Adwaita files. That's interesting, because I don't even use Adwaita on that system. It makes me suspect that in F26 maybe GTK+ has something hard-coded to look for Adwaita first. Of course I tried installing the adwaita-gtk2-theme package (both 64 and 32-bit), and it didn't help. Installing gtk2-engines didn't help either (64 and 32-bit).

flyingdutchman
17th July 2017, 03:59 AM
Hmm, Acroread is disabled? That sounds like a security feature...

amiga
17th July 2017, 04:57 AM
Out of curiosity I installed the given 9.5.5 rpm in a Centos 7 system. Centos 7 is supported until 2024. It required 67 packages to be installed and others updated but it installed fine and works perfectly.

Since Fedora 25 is only supported for 6-7 months more if the Fedora 26 bug cannot be fixed this provides an option for those who need AdobeReader for its unique functions such as editing pdf forms.


sudo yum install /mnt/data-raid1/Downloads/AdbeRdr9.5.5-1_i486linux_enu.rpm
Loaded plugins: fastestmirror, langpacks
Examining /mnt/data-raid1/Downloads/AdbeRdr9.5.5-1_i486linux_enu.rpm: AdobeReader_enu-9.5.5-1.i486
Marking /mnt/data-raid1/Downloads/AdbeRdr9.5.5-1_i486linux_enu.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package AdobeReader_enu.i486 0:9.5.5-1 will be installed
--> Processing Dependency: libatk-1.0.so.0 for package: AdobeReader_enu-9.5.5-1.i486
adobe-linux-x86_64 | 2.9

....
--> Running transaction check
---> Package libblkid-devel.x86_64 0:2.23.2-33.el7 will be updated
---> Package libblkid-devel.x86_64 0:2.23.2-33.el7_3.2 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================== ================================================== ================================================== ====================
Package Arch Version Repository Size
================================================== ================================================== ================================================== ====================
Installing:
AdobeReader_enu i486 9.5.5-1 /AdbeRdr9.5.5-1_i486linux_enu 135 M
Installing for dependencies:
atk i686 2.14.0-1.el7 base 250 k
audit-libs i686 2.6.5-3.el7_3.1 updates 85 k
avahi-libs i686 0.6.31-17.el7 base 61 k

....

openssl-libs x86_64 1:1.0.1e-60.el7_3.1 updates 959 k
util-linux x86_64 2.23.2-33.el7_3.2 updates 1.9 M

Transaction Summary
================================================== ================================================== ================================================== ====================
Install 1 Package (+67 Dependent packages)
Upgrade ( 21 Dependent packages)

Total size: 179 M
Total download size: 44 M
Is this ok [y/d/N]: y
Downloading packages:
updates/7/x86_64/prestodelta | 907 kB 00:00:13
Delta RPMs reduced 11 M of updates to 3.0 M (73% saved)
(1/88): audit-libs-python-2.6.5-3.el7_2.6.5-3.el7_3.1.x86_64.drpm | 10 kB 00:00:00
(2/88): audit-libs-2.6.5-3.el7_2.6.5-3.el7_3.1.x86_64.drpm | 11 kB 00:00:03
(3/88): audit-libs-devel-2.6.5-3.el7_2.6.5-3.el7_3.1.x86_64.drpm | 22 kB 00:00:05

....


Verifying : libtiff-4.0.3-25.el7_2.x86_64 108/110
Verifying : libuuid-devel-2.23.2-33.el7.x86_64 109/110
Verifying : libblkid-2.23.2-33.el7.x86_64 110/110

Installed:
AdobeReader_enu.i486 0:9.5.5-1

Dependency Installed:
atk.i686 0:2.14.0-1.el7 audit-libs.i686 0:2.6.5-3.el7_3.1 avahi-libs.i686 0:0.6.31-17.el7 cairo.i686 0:1.14.2-1.el7
cups-libs.i686 1:1.6.3-26.el7 dbus-libs.i686 1:1.6.12-17.el7 expat.i686 0:2.1.0-10.el7_3 fontconfig.i686 0:2.10.95-10.el7
freetype.i686 0:2.4.11-12.el7 gdk-pixbuf2.i686 0:2.31.6-3.el7 glib2.i686 0:2.46.2-4.el7 glibc.i686 0:2.17-157.el7_3.4
graphite2.i686 0:1.3.6-1.el7_2 gtk2.i686 0:2.24.28-8.el7 harfbuzz.i686 0:0.9.36-1.el7 jasper-libs.i686 0:1.900.1-30.el7_3
jbigkit-libs.i686 0:2.0-11.el7 keyutils-libs.i686 0:1.5.8-3.el7 krb5-libs.i686 0:1.14.1-27.el7_3 libICE.i686 0:1.0.9-2.el7
libSM.i686 0:1.2.2-2.el7 libX11.i686 0:1.6.3-3.el7 libXau.i686 0:1.0.8-2.1.el7 libXcomposite.i686 0:0.4.4-4.1.el7
libXcursor.i686 0:1.1.14-2.1.el7 libXdamage.i686 0:1.1.4-4.1.el7 libXext.i686 0:1.3.3-3.el7 libXfixes.i686 0:5.0.1-2.1.el7
libXft.i686 0:2.3.2-2.el7 libXi.i686 0:1.7.4-2.el7 libXinerama.i686 0:1.1.3-2.1.el7 libXrandr.i686 0:1.4.2-2.el7
libXrender.i686 0:0.9.8-2.1.el7 libXt.i686 0:1.1.4-6.1.el7 libXxf86vm.i686 0:1.1.3-2.1.el7 libcap-ng.i686 0:0.7.5-4.el7
libcom_err.i686 0:1.42.9-9.el7 libdrm.i686 0:2.4.67-3.el7 libffi.i686 0:3.0.13-18.el7 libgcc.i686 0:4.8.5-11.el7
libidn.i686 0:1.28-4.el7 libjpeg-turbo.i686 0:1.2.90-5.el7 libpciaccess.i686 0:0.13.4-3.el7_3 libpng.i686 2:1.5.13-7.el7_2
libselinux.i686 0:2.5-6.el7 libsepol.i686 0:2.5-6.el7 libstdc++.i686 0:4.8.5-11.el7 libthai.i686 0:0.1.14-9.el7
libtiff.i686 0:4.0.3-27.el7_3 libuuid.i686 0:2.23.2-33.el7_3.2 libverto.i686 0:0.2.5-4.el7 libxcb.i686 0:1.11-4.el7
libxml2.i686 0:2.9.1-6.el7_2.3 libxshmfence.i686 0:1.2-1.el7 mesa-libEGL.i686 0:11.2.2-2.20160614.el7 mesa-libGL.i686 0:11.2.2-2.20160614.el7
mesa-libGLU.i686 0:9.0.0-4.el7 mesa-libgbm.i686 0:11.2.2-2.20160614.el7 mesa-libglapi.i686 0:11.2.2-2.20160614.el7 nss-softokn-freebl.i686 0:3.16.2.3-14.4.el7
openssl-libs.i686 1:1.0.1e-60.el7_3.1 pango.i686 0:1.36.8-2.el7 pangox-compat.i686 0:0.0.2-2.el7 pcre.i686 0:8.32-15.el7_2.1
pixman.i686 0:0.34.0-1.el7 xz-libs.i686 0:5.2.2-1.el7 zlib.i686 0:1.2.7-17.el7

Dependency Updated:
audit.x86_64 0:2.6.5-3.el7_3.1 audit-libs.x86_64 0:2.6.5-3.el7_3.1 audit-libs-devel.x86_64 0:2.6.5-3.el7_3.1 audit-libs-python.x86_64 0:2.6.5-3.el7_3.1
glibc.x86_64 0:2.17-157.el7_3.4 glibc-common.x86_64 0:2.17-157.el7_3.4 glibc-devel.x86_64 0:2.17-157.el7_3.4 glibc-headers.x86_64 0:2.17-157.el7_3.4
jasper-libs.x86_64 0:1.900.1-30.el7_3 libblkid.x86_64 0:2.23.2-33.el7_3.2 libblkid-devel.x86_64 0:2.23.2-33.el7_3.2 libmount.x86_64 0:2.23.2-33.el7_3.2
libpciaccess.x86_64 0:0.13.4-3.el7_3 libtiff.x86_64 0:4.0.3-27.el7_3 libtiff-devel.x86_64 0:4.0.3-27.el7_3 libuuid.x86_64 0:2.23.2-33.el7_3.2
libuuid-devel.x86_64 0:2.23.2-33.el7_3.2 openssl.x86_64 1:1.0.1e-60.el7_3.1 openssl-devel.x86_64 1:1.0.1e-60.el7_3.1 openssl-libs.x86_64 1:1.0.1e-60.el7_3.1
util-linux.x86_64 0:2.23.2-33.el7_3.2

Complete!

$ which acroread
/usr/bin/acroread
$ file /usr/bin/acroread
/usr/bin/acroread: symbolic link to `/opt/Adobe/Reader9/bin/acroread'
$ file /opt/Adobe/Reader9/bin/acroread
/opt/Adobe/Reader9/bin/acroread: POSIX shell script, ASCII text executable

antikythera
17th July 2017, 09:31 AM
so does running an older fedora in VM or Windows for that matter. The only reason I can foresee for still using Adobe Reader is form submission.

Wayne
17th July 2017, 09:58 AM
Does this help?

https://www.if-not-true-then-false.com/2010/install-adobe-acrobat-pdf-reader-on-fedora-centos-red-hat-rhel/

HaydnH
17th July 2017, 10:53 AM
so does running an older fedora in VM or Windows for that matter. The only reason I can foresee for still using Adobe Reader is form submission.

The evince PDF viewer supports form completion does it not?

nvwarr
17th July 2017, 11:04 AM
The if-not-true-then-false link is the standard way to install acroread on Fedora up to version 25. It does NOT work on Fedora 26. I usually use evince, but there are some things (usually official forms, that I have to fill out as part of my job), where acroread is needed. So it is a showstopper for me, but...

I managed to get acroread working on Fedora 26, but it was a bit tricky.

1) Copy the 32-bit shared libraries /lib/ld-linux.so.2 /lib/libblkid.so.1 /lib/libc.so.6 /lib/libdl.so.2 /lib/libexpat.so.1 /lib/libmount.so.1 /lib/libpthread.so.0 /lib/libuuid.so.1 from a Fedora 25 with a working acroread into the /opt/Adobe/Reader9/Reader/intellinux/lib directory of the Fedora 26 system.

2) Edit /opt/Adobe/Reader9/bin/acroread on the Fedora 26 system, changing the line:

exec ${1+"$@"}

to
exec /opt/Adobe/Reader9/Reader/intellinux/lib/ld-linux.so.2 ${1+"$@"}

3) Copying the .adobe directory from my home on the Fedora 25 system to the Fedora 26 one. Without this step it started but gave the message "Unable to initialize user interface".

4) Install libxml2.i686 gdk-pixbuf2-xlib.i686 gtk.i686

I note that installing gtk-murrine-engine.i686 and adwaita-gtk2-theme.i686 gets rid of a whole load of warnings, but doesn't seem to be necessary.

antikythera
17th July 2017, 11:53 AM
Does this help?

https://www.if-not-true-then-false.com/2010/install-adobe-acrobat-pdf-reader-on-fedora-centos-red-hat-rhel/

not for fedora 26, even with the listed dependencies installed it won't launch.

not sure about evince, it may work for forms but i've never tried that package. for that matter libreoffice draw should suffice as you can edit a pdf document with it and output back to pdf

nsnbm
17th July 2017, 12:01 PM
The evince PDF viewer supports form completion does it not?

The current evince in f26 that I have looks like it can add annotations and do highlighting rather than add actual text to the pdf which is fill in. However, xournal can add text the pdf and output a new pdf with that text in place.

jaybot
17th July 2017, 04:48 PM
So I have two machines running fedora 26 and both were installed identical. On the desktop adobe reader works just fine. On the laptop it does not. On both machines they throw those warning messages about the modules missing because they are in the lib64 directory so thats not the issue. Im pretty sure I know what it is now so when I get back to my laptop ill run some tests and if I get it working ill report back here the fix.

flyingdutchman
17th July 2017, 06:45 PM
Instead of using form completion, I simply use Xournal and write wherever I want on a PDF.

RupertPupkin
17th July 2017, 11:07 PM
I managed to get acroread working on Fedora 26, but it was a bit tricky.

1) Copy the 32-bit shared libraries /lib/ld-linux.so.2 /lib/libblkid.so.1 /lib/libc.so.6 /lib/libdl.so.2 /lib/libexpat.so.1 /lib/libmount.so.1 /lib/libpthread.so.0 /lib/libuuid.so.1 from a Fedora 25 with a working acroread into the /opt/Adobe/Reader9/Reader/intellinux/lib directory of the Fedora 26 system.

2) Edit /opt/Adobe/Reader9/bin/acroread on the Fedora 26 system, changing the line:

exec ${1+"$@"}

to
exec /opt/Adobe/Reader9/Reader/intellinux/lib/ld-linux.so.2 ${1+"$@"}

This worked!! Woohoo!

I needed only the first 2 steps in your solution to get Acrobat Reader working in F26 on my machine at work. In fact, in step 2 I didn't even need the libexpat.so.1 library.

Now that there's a solution (how did you come up with it, by the way?) I'll be able to upgrade to F26 on my home machine. This had been a showstopper for me, so I'm grateful for the solution. If you're ever in Detroit I'll treat you to a coney dog and a bottle of Vernors. :)

Welcome to the Fedora Forums, by the way! Your first post and you solved what for many would be a major problem. You could never post again and retire "undefeated" from the forums. :D

dd_wizard
17th July 2017, 11:30 PM
Switch to Mate! I did all my 2016 tax forms in the Mate pdf viewer, Atril. I'm surprised Evince doesn't work.

dd_wizard

Tak_HMB
18th July 2017, 03:45 AM
Hi
Thank you a thousand times and more!! I also only did the first two steps with success.

Tak

amiga
18th July 2017, 07:35 AM
There appears to be major confusion and misinformation about what PDF forms are and what they are used for. They exist to collect information from users and allow them to upload it to a server using an email link embedded in the form. Simply drawing text on top of the pdf graphics with a drawing tool is meaningless. Pdf forms are not about editing a pdf. They are about information capture and upload.

http://www.uwec.edu/help/acrobat9/for-submit.htm


for that matter libreoffice draw should suffice as you can edit a pdf document with it and output back to pdf


However, xournal can add text the pdf and output a new pdf with that text in place.


Instead of using form completion, I simply use Xournal and write wherever I want on a PDF.

And how would writing text on top of a pdf graphic allow that text to be uploaded by email to the address embedded in the form ? Would pressing the 'Submit' or 'Send' button in 'Xournal' upload the data ? Adobe Reader would upload data if the Submit button was pressed.

Linux users who need Adobe Reader may need this actual upload capability.

nsnbm
18th July 2017, 12:45 PM
Simply drawing text on top of the pdf graphics with a drawing tool is meaningless.
....
And how would writing text on top of a pdf graphic allow that text to be uploaded by email to the address embedded in the form ?

Oh well, I guess it all depends on one's needs and one's familiarity with the programs and one's level of competence with the operating system and one's attitude to particular companies and perhaps one's commitments to free open source. As it happens, on occasion, it's possible to solve a problem by using xournal to insert text into a pdf, export that to a new pdf and then send it as an email attachment which is what the recipient wants to see in this case. That's a level of functioning with open source programs that works, however clunky, but may satisfy certain needs that closed source can't.

RupertPupkin
18th July 2017, 11:56 PM
There appears to be major confusion and misinformation about what PDF forms are and what they are used for.
Indeed. I'm glad you explained why so many of us still need Acrobat Reader, and why the (well-intentioned) suggestions to "just use <whatever> instead" weren't sufficient.

I still would like to find out exactly what changed in F26 to cause the problem, but nvwarr's solution works so well that I'm satisfied for now.

pitonyak
23rd July 2017, 12:46 AM
After upgrading from FC25 to FC26, acrobat reader does nothing, it simply returns.

More specifically, acroread is a shell script that sets the environment and eventually calls

exec /opt/Adobe/Reader9/Reader/intellinux/bin/acroread something.pdf

This prints no errors and it simply returns. Running the command directly is no good because it does some environment setup.

reader was installed using:


dnf install AdbeRdr9.5.5-1_i486linux_enu.rpm


So, has anyone managed to run acrobat reader on fedora 26?

flyingdutchman
23rd July 2017, 03:57 AM
It sounds like an excellent security feature...

I'm only partially jesting - it may be SELinux that is preventing acroread from working.

pitonyak
23rd July 2017, 05:37 AM
Excellent suggestion that had not occurred to me. It was enforcing, so I set it to permissive, started tracing the log... it failed to start (as before), did not generate any messages to the log. It should have worked if the problem was selinux.

It might be related to the updated gcc libraries, but that is a total guess based on little.

Wayne
23rd July 2017, 06:57 AM
http://www.forums.fedoraforum.org/showthread.php?t=314745

antikythera
23rd July 2017, 07:57 AM
thanks wayne, threads merged. please refer to post #16 (http://www.forums.fedoraforum.org/showpost.php?p=1790589&postcount=16) where there is a workaround for this problem

jaybot
24th July 2017, 12:42 AM
Heres what bugs me. I do have it working on a old dell desktop. I did nothing special to make it work. I just installed it and let it pull down whatever deps it needed and it just worked like it did in fedora 25. Then did the same thing on my laptop and Im having same problem you guys are. Ive spent a lot of time trying to figure out why it works on one but doesnt on the other but nothing yet... Logs dont say anything worth while.

goanga
24th July 2017, 03:19 PM
I managed to get acroread working on Fedora 26, but it was a bit tricky.



I tried this but I get a segmentation fault when running acroread. However, I don't have a Fedora 25 installation to copy the libraries from so I got them from various packages from rpmfind.

Can you tell me what version of the libraries works for you?

RupertPupkin
25th July 2017, 03:36 AM
I tried this but I get a segmentation fault when running acroread. However, I don't have a Fedora 25 installation to copy the libraries from so I got them from various packages from rpmfind.

Can you tell me what version of the libraries works for you?
I used the following F25 RPMs from this official Fedora mirror site: https://mirror.umd.edu/fedora/linux/releases/25/Everything/i386/os/Packages/

glibc-2.24-3.fc25.i686 (https://mirror.umd.edu/fedora/linux/releases/25/Everything/i386/os/Packages/g/glibc-2.24-3.fc25.i686.rpm)
libblkid-2.28.2-1.fc25.i686 (https://mirror.umd.edu/fedora/linux/releases/25/Everything/i386/os/Packages/l/libblkid-2.28.2-1.fc25.i686.rpm)
libmount-2.28.2-1.fc25.i686 (https://mirror.umd.edu/fedora/linux/releases/25/Everything/i386/os/Packages/l/libmount-2.28.2-1.fc25.i686.rpm)
libuuid-2.28.2-1.fc25.i686 (https://mirror.umd.edu/fedora/linux/releases/25/Everything/i386/os/Packages/l/libuuid-2.28.2-1.fc25.i686.rpm)

Those are all from the initial F25 release, so they are all compatible with each other.

One thing that might help is to not actually install those packages, but just copy the individual libraries you need. I used rpm2cpio and cpio (as root) to do that, by extracting the contents of the RPMs into a temporary directory and then copying only what I needed:

mkdir f25stuff

cd f25stuff

wget https://mirror.umd.edu/fedora/linux/releases/25/Everything/i386/os/Packages/g/glibc-2.24-3.fc25.i686.rpm

rpm2cpio glibc-2.24-3.fc25.i686.rpm | cpio -ivd

cd lib

cp ld-linux.so.2 libc.so.6 libdl.so.2 libpthread.so.0 /opt/Adobe/Reader9/Reader/intellinux/lib
Do the same for the other RPMs and libraries. I didn't need libexpat.so.1, but if you do then use expat-2.2.0-1.fc25.i686 (https://mirror.umd.edu/fedora/linux/releases/25/Everything/i386/os/Packages/e/expat-2.2.0-1.fc25.i686.rpm).

goanga
25th July 2017, 08:45 AM
Brilliant, it worked!


Thank you for the detailed info, I think I probably mixed and matched those libraries initially, but now it works. Thanks again!

jaybot
26th July 2017, 01:06 AM
Anyone who has already extracted these libraries want to tar them up and put them up somewhere for the rest of us who are too lazy ;)

kkshethin
26th July 2017, 08:57 AM
Anyone who has already extracted these libraries want to tar them up and put them up somewhere for the rest of us who are too lazy ;)
and with detailed instructions, please:):):)

antikythera
26th July 2017, 09:03 AM
better still, could you pop round and install it please?

joking of course

patrickg
27th July 2017, 12:34 PM
Dear all,

The solution is working nicely and I am able to display pdf files with acroread again under F26.

There seems to be an issue though for printing. When trying to print, the printers available are not recognised at all and the Print menu shows a "custom" entry that can't be changed.

Any idea how to get around this? Should a cups library from f25 be added in addition to the other ones? Any help would be appreciated.

All the best,

Patrick

DBelton
28th July 2017, 08:32 AM
After upgrading from FC25 to FC26, acrobat reader does nothing, it simply returns.

More specifically, acroread is a shell script that sets the environment and eventually calls

exec /opt/Adobe/Reader9/Reader/intellinux/bin/acroread something.pdf

This prints no errors and it simply returns. Running the command directly is no good because it does some environment setup.

reader was installed using:


dnf install AdbeRdr9.5.5-1_i486linux_enu.rpm


So, has anyone managed to run acrobat reader on fedora 26?

If you had bothered to READ the very same thread you posted this message in, you would have realized the answer to your question is YES... Look at post #16 above... It has A solution, and that solution has been verified to work (look a few posts down in the thread for that verification)

Now, I don't know if this is the only solution, the best solution, or no solution at all, since I haven't used the Adobe reader in years, but I will say that if RupertPupkin above states that it works, then it works.. Nuff said :)

patrickg
28th July 2017, 12:49 PM
Hello,

Post #16 does not say anything about printing document, I am afraid.

Patrick

RupertPupkin
28th July 2017, 10:33 PM
When trying to print, the printers available are not recognised at all and the Print menu shows a "custom" entry that can't be changed.
I noticed that, but it didn't affect my ability to print. To the right of that "Custom ..." picklist is a textfield for your print command. On my F26 system it's set to "lp", which prints to the default printer (called "laserjet" on my F26 system). To print to a different printer, just modify the lp command. For example, to print to a printer called "laserjet2", the command would be "lp -d laserjet2":

http://i.imgur.com/QJeemCz.png

Obviously this isn't an optimal way of printing, but it works (at least for me).

I tried the same trick of installing some CUPS library from F25 into the same location mentioned by nvwarr, didn't help. There's no telling how many libraries you'd have to try (e.g. avahi, dbus). I figured it wasn't worth it, since basic printing still works. But I would still like to find out what caused the original problem to begin with. It's possible it could be an issue with packages compiled with GCC 7. Maybe when I get more time I'll look into it.

patrickg
31st July 2017, 11:37 AM
Thank you for your answer.

I had noticed that the lp -d/lpr -P commands specifying the printer were working but it would be nice to have the menu driven options available such as duplex printing, media type and source (even these options can also be set up as options on the command line).

Let me know if you figure out a work around with the f25 libs.

Regards,

Patrick

nutznboltz
3rd August 2017, 12:59 PM
I fetched these RPMs

wget https://mirror.umd.edu/fedora/linux/releases/25/Everything/i386/os/Packages/g/glibc-2.24-3.fc25.i686.rpm
wget https://mirror.umd.edu/fedora/linux/releases/25/Everything/i386/os/Packages/l/libblkid-2.28.2-1.fc25.i686.rpm
wget https://mirror.umd.edu/fedora/linux/releases/25/Everything/i386/os/Packages/l/libmount-2.28.2-1.fc25.i686.rpm
wget https://mirror.umd.edu/fedora/linux/releases/25/Everything/i386/os/Packages/l/libuuid-2.28.2-1.fc25.i686.rpm
wget https://mirror.umd.edu/fedora/linux/releases/25/Everything/i386/os/Packages/e/expat-2.2.0-1.fc25.i686.rpm

The I extracted them and I added these libraries to /opt/Adobe/Reader9/Reader/intellinux/lib/



ld-linux.so.2
libblkid.so.1
libc.so.6
libdl.so.2
libexpat.so.1
libmount.so.1
libpthread.so.0
libuuid.so.1

But I get: "error while loading shared libraries invalid mode for dlopen(): Invalid argument".

Any advice?

Thanks

UPDATE: never mind, I didn't notice step 2 in post 16 (http://www.forums.fedoraforum.org/showpost.php?p=1790589&postcount=16).

2) Edit /opt/Adobe/Reader9/bin/acroread on the Fedora 26 system, changing the line:

exec ${1+"$@"}

to
exec /opt/Adobe/Reader9/Reader/intellinux/lib/ld-linux.so.2 ${1+"$@"}

After that it works. :)

RupertPupkin
3rd August 2017, 11:09 PM
I get: "error while loading shared libraries invalid mode for dlopen(): Invalid argument".

Any advice?

Did you edit the acroread script as in Step 2 in post #16 (http://forums.fedoraforum.org/showpost.php?p=1790589&postcount=16)?

jaybot
9th August 2017, 07:24 PM
I extracted all the libs. For the lazy here a link to all the libs you need to put in /opt/Adobe/Reader9/Reader/intellinux/lib

https://ufile.io/txra1

RupertPupkin
12th August 2017, 07:54 PM
OK, this is weird: On my home machine which I just upgraded to F26 from F25, I didn't need the fix from post #16. I tried running Acrobat Reader before making the changes, and it worked perfectly, including printing:

http://i.imgur.com/kkkYjYo.png

I suspect that in the time since F26 was released, maybe some GTK+ or other library was updated that fixed the problem. Regardless, I'm happy that on my home F26 system Acrobat Reader runs just like before in F25, without any hacks. Yay!

jcbowman
14th August 2017, 08:21 AM
With the help of the environment variable
export ACRO_PRINT_DEBUG=1
it was easy to track down the libraries needed for CUPS support.
It turns out that you just need to copy over these additional libraries from the F25 system:

/lib/libgnutls.so.30
/lib/libcrypt.so.1

RupertPupkin
14th August 2017, 10:40 PM
With the help of the environment variable
export ACRO_PRINT_DEBUG=1
it was easy to track down the libraries needed for CUPS support.
It turns out that you just need to copy over these additional libraries from the F25 system:

/lib/libgnutls.so.30
/lib/libcrypt.so.1
Are you saying that those two libraries are what's needed to get the old Print menu back? I tried that on my F26 system at work, and it didn't make any difference - I still got the "Custom" printer choice only.

For some reason my work machine running F26 needs the fix, while my home F26 system doesn't. I'm going to see what extra packages my home system has compared to my work system.

jcbowman
15th August 2017, 03:14 AM
Yes, adding these libraries brought back the old print menu. Here is the full list of F25 libraries that I copied over:

libcrypt.so.1
libgnutls.so.30
libXt.so.6
libICE.so.6
libuuid.so.1
libpthread.so.0
libmount.so.1
libexpat.so.1
libdl.so.2
libc.so.6
libblkid.so.1
ld-linux.so.2

If you have all of these libraries in /opt/Adobe/Reader9/Reader/intellinux/lib
and it still doesn't work try
export ACRO_PRINT_DEBUG=1
Opening up the print dialog in acroread should help you diagnose what else is missing.

RupertPupkin
15th August 2017, 11:54 PM
I looked again at the Print menu on my work F26 system, and though the "Custom" button was still there, it showed two more entries when actually pressing the button:"laserjet" and "laserjet2". I picked "laserjet" and then the normal printer settings appeared (e.g. Properties). So all appears well now, with just those two new libraries installed.

arjenpdevries
21st August 2017, 05:20 PM
I had the same problem, but after updating today (dnf update, on August 21st), things worked flawlessly.

RupertPupkin
22nd August 2017, 03:34 AM
Interesting. The F26 update for today (Aug 21) had new i686 (32-bit) versions of glibc and libcrypt-nss. Either one or both of those likely fixed the problem.

There is a bugzilla report (https://bugzilla.redhat.com/show_bug.cgi?id=1464710) for this issue, and the last comment (#7) says the onus is on Adobe to update Acrobat Reader, but it looks like it was Fedora that (quietly?) fixed the problem.

antikythera
22nd August 2017, 08:14 AM
Fortunate that the commenter isn't responsible for the Fedora libraries concerned then

RupertPupkin
18th November 2017, 12:47 AM
Looks like this problem has reared its head again in F27. On my home machine (just upgraded to F27) Acrobat Reader still works fine. But on my work machine running F27 (inside VirtualBox in a Windows 10 host) I got this:

$ /opt/Adobe/Reader9/Reader/intellinux/bin/acroread: relocation error: /lib/libm.so.6: symbol
__strtof128_nan, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference

Fortunately, the fix was easy and similar to the one described before. Basically, you need to copy some extra F25 libraries into a special Adobe directory. Specifically:

For F27 copy these files from the glibc-2.24-3.fc25.i686.rpm package to /opt/Adobe/Reader9/Reader/intellinux/lib/:

libm.so.6
libresolv.so.2
libnss_files.so.2
libnss_dns.so.2

After copying those files, Acrobat Reader worked again.

nutznboltz
17th December 2017, 03:26 PM
Using Adobe acroread 9.5.5 already throws caution to the wind so why not use Docker on top of that too?

https://github.com/mgor/docker-acroread

I've never tried this. Who knows what's in the Linux acroread code.

https://www.cvedetails.com/vulnerability-list/vendor_id-53/product_id-497/cvssscoremin-6/cvssscoremax-6.99/Adobe-Acrobat-Reader.html

RupertPupkin
3rd June 2018, 09:15 PM
Heh, upgrading to F28 on my work machine caused this problem to reappear. Luckily, the fix was easy: copy the /lib/librt.so.1 file from the glibc-2.24-3.fc25.i686.rpm package to the /opt/Adobe/Reader9/Reader/intellinux/lib directory. That got it working again.

I still think the (small) trouble is worth it to have a functioning Acrobat Reader in Linux.

antikythera
3rd June 2018, 09:19 PM
do you actually use it to fill in forms? if not, then any other PDF capable document viewer should suffice. thanks for updating the thread that your fix still works though

RupertPupkin
3rd June 2018, 09:45 PM
do you actually use it to fill in forms?
Yep, just in the last 6-8 weeks I had to fill out some PDF forms. Acrobat Reader is still very useful to me.