Page 1 of 2

Mageia 3 & Adobe Reader (DONE)

PostPosted: May 24th, '13, 10:04
by paulcbrennan2001
As per errata I deleted Adobe Reader before installing Mageia 3. The installation went fine so I went to the Adobe website. I downloaded and installed the rpm package which seemed to go OK. I checked MCC and it confirmed that it had been installed. Problem is it has not appeared in the Menu so I am unable to use it.

Anyone have any ideas?

Thanks.

Re: Mageia 3 & Adobe Reader

PostPosted: May 24th, '13, 11:22
by jkerr82508
IIRC I had to create a menu item and also add acroread to the KDE File Associations.

Entering acroread in the Run command will launch AdobeReader.

The launcher is the file /opt/Adobe/Reader9/Resource/Support/AdobeReader.desktop, which can be added to your desktop.

Jim

Re: Mageia 3 & Adobe Reader

PostPosted: May 24th, '13, 15:50
by paulcbrennan2001
Thanks for the reply. I am afraid I am only a user, not technical, so please can you tell me how to create a menu item and add acroread to the KDE File Associations.

Thanks again.

Re: Mageia 3 & Adobe Reader

PostPosted: May 24th, '13, 16:40
by jkerr82508
Menu item:
Right-click on the Menu launcher and select "Edit applications". The menu editor will open. Hit F1 and the Menu Editor handbook will open . It explains how to add a menu entry. The command to enter is acroread
You'll find icons in /opt/Adobe/Reader9/Resource/Icons

For the file association:
Open System Settings and click on File Associations. Enter pdf in the search box and expand applications. Click on pdf and under Application Preference Order, click on Add. Enter acroread. Move it to the top of the list if you want it to be the default. This page may help:
http://userbase.kde.org/System_Settings ... iations/en

Jim

Re: Mageia 3 & Adobe Reader

PostPosted: May 24th, '13, 19:55
by paulcbrennan2001
I will do that later and let you know how I get on.

Many thanks.

Re: Mageia 3 & Adobe Reader

PostPosted: May 24th, '13, 21:58
by paulcbrennan2001
Followed instrutions as shown but all I get is an error message box saying "Could not write to /home/paulbrennan/.config/menus/applications-kmenuedit.menu". I checked the file and I was denied access. Is this a "Group" problem?

Many thanks

Re: Mageia 3 & Adobe Reader

PostPosted: May 24th, '13, 23:55
by jkerr82508
The AdobeReader installer has a long-standing reputation for randomly messing with file permissions. Open a terminal and become root
Code: Select all
su -
Enter the root password, when asked and then enter the following commands:
Code: Select all
chown -R paulbrennan:paulbrennan /home/paulbrennan/.config/menus
chown -R paulbrennan:paulbrennan /home/paulbrennan/.local/share/applications

This will make you the owner of those directories and all the files in them.
(This assumes that your username is paulbrennan and you belong to the group paulbrennan. This would be the case if you set paulbrennan as your username on installation.)

Then try adding the menu entry and setting the File Association.

Jim

Re: Mageia 3 & Adobe Reader

PostPosted: May 25th, '13, 12:59
by paulcbrennan2001
Thanks Jim,

Well I have permission restored and carried out your previous instructions. All seemed to go OK, Adobe Reader is in the menu, but when I click on it the cursor (with the icon) just bounces but refuses to open. Any ideas?

Thanks again.

Re: Mageia 3 & Adobe Reader

PostPosted: May 25th, '13, 13:40
by djennings
I am just wondering why you need Adobe Acrobat Reader at all? Do you have documents that Okular will not open?
My own experience is that Okular and Evince do a better job than acroread on most docs, and without the bloat.

But if you really do want to use acroread, if you open a terminal and type acroread does it open?

Re: Mageia 3 & Adobe Reader

PostPosted: May 25th, '13, 15:24
by paulcbrennan2001
This is what I get when I type in acroread:-

Code: Select all
[paulbrennan@localhost ~]$ su -
Password:
[root@localhost ~]# acroread
/usr/bin/acroread: symbol lookup error: /lib/libpangocairo-1.0.so.0: undefined symbol: g_object_replace_qdata
[root@localhost ~]#


I think you are right I'll just use Okular

Many thanks anyway.

Re: Mageia 3 & Adobe Reader

PostPosted: May 25th, '13, 16:48
by jkerr82508
You probably should not run it as root. I agree with djennings that there is little, if any, need for AdobeReader. I can't remember when I actually used it last. Even on Windows boxes, I now install an alternative pdf reader. I think that I install acroread just out of habit, aquired in the "good old days" when it came with the Powerpack.

Jim

Re: Mageia 3 & Adobe Reader

PostPosted: May 25th, '13, 20:51
by paulcbrennan2001
Agree totally. Just use it out of habit.

Many thanks for your time but I will call it a day now.

Re: Mageia 3 & Adobe Reader

PostPosted: May 27th, '13, 21:42
by doktor5000
Please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks

Re: Mageia 3 & Adobe Reader

PostPosted: May 28th, '13, 08:08
by paulcbrennan2001
Unfortunately it hasn't been solved, just given up trying to solve it.

Re: Mageia 3 & Adobe Reader

PostPosted: May 28th, '13, 20:11
by doktor5000
Can you please show the output of
Code: Select all
rpm -qa | grep libpango

Re: Mageia 3 & Adobe Reader

PostPosted: May 29th, '13, 08:11
by paulcbrennan2001
As follows:-

Code: Select all
[root@localhost ~]# rpm -qa | grep libpango
libpangox1.0_0-0.0.2-2.mga3
libpango1.0_0-modules-1.32.5-3.mga3
libpango1.0_0-1.32.5-3.mga3


Paul

Re: Mageia 3 & Adobe Reader

PostPosted: Jun 1st, '13, 19:38
by doktor5000
Please try the following as root and post the output here:
Code: Select all
urpmi --replacepkgs --replacefiles $(rpm -qf /lib/libpangocairo-1.0.so.0)

Re: Mageia 3 & Adobe Reader

PostPosted: Jun 2nd, '13, 09:27
by paulcbrennan2001
Output as follows:-
Code: Select all
    $MIRRORLIST: media/../../i586/media/core/release/libpango1.0_0-1.32.5-3.mga3.i586.rpm
installing libpango1.0_0-1.32.5-3.mga3.i586.rpm from /var/cache/urpmi/rpms
Preparing...                     #########################################
      1/1: libpango1.0_0         #########################################


Paul

Re: Mageia 3 & Adobe Reader

PostPosted: Jun 2nd, '13, 09:36
by doktor5000
OK, so it reinstalled. Now please run again adobe reader as normal user, not as root. If it still doesn't work, you should reinstall Adobe Reader.

Re: Mageia 3 & Adobe Reader

PostPosted: Jun 3rd, '13, 10:23
by paulcbrennan2001
Re-installed but still fails to start with the error:-

[root@localhost ~]# acroread
/usr/bin/acroread: symbol lookup error: /lib/libpangocairo-1.0.so.0: undefined symbol: g_object_replace_qdata

Paul

Re: Mageia 3 & Adobe Reader

PostPosted: Jun 3rd, '13, 20:15
by doktor5000
Which reader version are you using currently? And why do you still try to run it as root, even when it was recommended to not do that?

I've just installed the latest version they offer and it works just fine. FWIW, it pulled the following 32bit packages:

Code: Select all
[doktor5000@Mageia3 ~]$ up ./AdbeRdr9.5.5-1_i486linux_enu.rpm
Um die Abhängigkeiten zu erfüllen, werden die folgenden Pakete installiert:
  Paket                          Version      Release       Arch   
(Medium »Core 32bit Release«)
  libdatrie1                     0.2.5        2.mga3        i586   
  libgdk_pixbuf2.0_0             2.26.5       2.mga3        i586   
  libgdk_pixbuf2.0_0-loaders-pn> 2.26.5       2.mga3        i586   
  libgraphite2_3                 1.2.0        2.mga3        i586   
  libgtk+-x11-2.0_0              2.24.17      1.mga3        i586   
  libgtk+2.0_0                   2.24.17      1.mga3        i586   
  libharfbuzz0                   0.9.10       3.mga3        i586   
  libjasper1                     1.900.1      14.mga3       i586   
  liboxygen-gtk                  1.3.2.1      1.mga3        i586    (Vorschlag)
  libpango1.0_0                  1.32.5       3.mga3        i586   
  libpango1.0_0-modules          1.32.5       3.mga3        i586   
  libpangox1.0_0                 0.0.2        2.mga3        i586   
  libthai0                       0.1.18       2.mga3        i586   
  libxft2                        2.3.1        3.mga3        i586   
  libxt6                         1.1.3        3.mga3        i586   
(Befehlszeile)
  AdobeReader_enu                9.5.5        1             i486   
144MB zusätzlicher Speicher werden benötigt
60MB an Paketen werden geholt
Fortfahren mit der Installation der 16 Pakete? (J/n)


ftp://ftp.adobe.com/pub/adobe/reader/un ... ux_enu.rpm

Re: Mageia 3 & Adobe Reader

PostPosted: Jun 4th, '13, 08:22
by paulcbrennan2001
I tried as root and as not root with the same result (what's the point in not trying both?). I downloaded the latest edition (9.5.5). This is the result of not being root:-

Code: Select all
[paulbrennan@localhost ~]$ acroread
Gtk-Message: Failed to load module "canberra-gtk-module"
/usr/bin/acroread: symbol lookup error: /lib/libpangocairo-1.0.so.0: undefined symbol: g_object_replace_qdata
[paulbrennan@localhost ~]$


When I installed the package it also installed a string of other packages as you've shown.

It is obvious that it is not going to work on my system even though I have never previously had a problem (Mandrake/Mandriva or Mageia).

Paul

Re: Mageia 3 & Adobe Reader

PostPosted: Jun 4th, '13, 20:06
by doktor5000
Can you please show the output of the following commands:

Code: Select all
objdump -T /lib/libpangocairo-1.0.so.0 | grep g_object_replace_qdata
rpm -V libpango1.0_0-1.32.5-3.mga3


Also, have you tried removing the folder with Adobe Reader settings ~/.adobe/Acrobat/

Re: Mageia 3 & Adobe Reader

PostPosted: Jun 4th, '13, 21:30
by paulcbrennan2001
As follows:-

Code: Select all
[paulbrennan@localhost ~]$ objdump -T /lib/libpangocairo-1.0.so.0 | grep g_object_replace_qdata
00000000      DF *UND*  00000000              g_object_replace_qdata
[paulbrennan@localhost ~]$ rpm -V libpango1.0_0-1.32.5-3.mga3


Not sure what folder you mean, i.e. do you want me to delete the whole 'Acrobat' folder? - don't forget I am only a user, not technical although I have gained a lot of experience by trial and error over the years. I went to school in the 60's when we didn't have computers so I have to learn as I go. ZX81, Amiga, Linux. Tried Winblows but I'd rather shoot myself!!

Paul

Re: Mageia 3 & Adobe Reader

PostPosted: Jun 4th, '13, 21:56
by doktor5000
Output looks the same here.

And yes, i want you to move away/rename the whole (hidden) ~/.adobe/Acrobat folder. You don't need to delete it, just rename it to anything else or move the folder somewhere else. Adobe Reader stores its cache and settings in that hidden folder, if they are the problem, then that would rule that out.

You can also run the following command as your normal user:

Code: Select all
mv ~/.adobe/Acrobat ~/.adobe/Acrobat-old