Page 1 of 1

[SOLVED] mcc not launching (abandoned & re-installed Mag4)

PostPosted: Mar 16th, '14, 22:01
by rooman
Mageia 4, i5 4core on a Asus z-87, 16Gb nvidia760 gtx
mcc will not launch from icon or from menu, I also have message "no system tray".

Code: Select all
[root@localhost ~]# mcc
Can't load '/usr/lib/perl5/vendor_perl/5.18.1/i386-linux-thread-multi/auto/Pango/Pango.so' for module Pango: /lib/libcairo.so.2: undefined symbol: eglGetProcAddress at /usr/lib/perl5/5.18.1/i386-linux-thread-multi/DynaLoader.pm line 190.
 at /usr/lib/perl5/vendor_perl/5.18.1/i386-linux-thread-multi/Gtk2.pm line 31.
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.18.1/i386-linux-thread-multi/Gtk2.pm line 31.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.18.1/i386-linux-thread-multi/Gtk2.pm line 31.
Compilation failed in require at /usr/lib/libDrakX/mygtk2.pm line 14.
BEGIN failed--compilation aborted at /usr/lib/libDrakX/mygtk2.pm line 14.
Compilation failed in require at /usr/libexec/drakconf line 39.
BEGIN failed--compilation aborted at /usr/libexec/drakconf line 39.
[root@localhost ~]#

Fireox and Thunderbird will not launch either
Code: Select all
[root@localhost ~]# firefox
XPCOMGlueLoad error for file /usr/lib/firefox-24.3.0/libxul.so:
/lib/libcairo.so.2: undefined symbol: eglGetProcAddress
Couldn't load XPCOM.
[root@localhost ~]#

All was okay untill on-line update done 1 day ago, reboot today, any ideas please?

Re: mcc not launching

PostPosted: Mar 16th, '14, 22:35
by Latte
mmh, in both cases it's complaining about '/lib/libcairo.so.2' which is part of the libcairo2 package (lib64cairo2 in case you are using 64bit system)

can you check if the package is installed?
Code: Select all
rpm -qa | grep libcairo2

maybe you can try to re-install the package
Code: Select all
urpmi --replacefiles --replacepkgs libcairo2

Re: mcc not launching

PostPosted: Mar 17th, '14, 17:58
by rooman
I'm still in 32 bit, I'll try to reinstall cairo this evening thanks.

Re: mcc not launching

PostPosted: Mar 17th, '14, 21:21
by rooman
perl, pango and cairo all installed. I've no idea what to try except a new install Windows style which I'd like to avoid.

Re: mcc not launching

PostPosted: Mar 17th, '14, 22:20
by doktor5000
rooman wrote:perl, pango and cairo all installed.

Installed or reinstalled with the command posted previously?
Please show the output of the commands.

Re: mcc not launching

PostPosted: Mar 17th, '14, 22:27
by rooman
Code: Select all
$ rpm -qa | grep perl
perl-Cairo-1.104.0-2.mga4
(amongst many other lines). Why cairo1 here? FF is looking for cairo2

Code: Select all
@localhost ~]$ rpm -qa | grep cairo
python3-cairo-1.10.0-7.mga4
python-cairo-1.10.0-7.mga4
libcairo2-1.12.16-2.mga4
libcairo-gir1.0-1.38.0-2.mga4
libcairo-devel-1.12.16-2.mga4
libsvg-cairo1-0.1.6-16.mga4
python-gi-cairo-3.10.2-1.mga4


Code: Select all
@localhost ~]$ rpm -qa | grep pango
libpango-gir1.0-1.36.1-1.mga4
libpango1.0_0-modules-1.36.1-1.mga4
pango-1.36.1-1.mga4
libpango1.0_0-1.36.1-1.mga4


notice anything odd?

Re: mcc not launching

PostPosted: Mar 17th, '14, 22:38
by rooman
reinstalled Firefox
Code: Select all
urpmi --replacefiles --replacepkgs firefox
[root@localhost ~]# firefox
XPCOMGlueLoad error for file /usr/lib/firefox-24.3.0/libxul.so:
/lib/libcairo.so.2: undefined symbol: eglGetProcAddress
Couldn't load XPCOM.

still does not launch

Re: mcc not launching

PostPosted: Mar 17th, '14, 22:55
by doktor5000
rooman wrote:[root@localhost ~]# firefox
XPCOMGlueLoad error for file /usr/lib/firefox-24.3.0/libxul.so:
/lib/libcairo.so.2: undefined symbol: eglGetProcAddress


The undefined symbol comes from an unrelated package:

Code: Select all
[doktor5000@Mageia4 ~]$ symbol=eglGetProcAddress
[doktor5000@Mageia4 ~]$ for f in /usr/lib/*.so.*; do objdump -t -T $f | grep $symbol | grep -v '*UND*' && echo $f; done
00008700 g    DF .text  000000ae  Base        eglGetProcAddress
/usr/lib/libEGL.so.1
00008700 g    DF .text  000000ae  Base        eglGetProcAddress
/usr/lib/libEGL.so.1.0.0
[doktor5000@Mageia4 ~]$ rpm -qf /usr/lib/libEGL.so.1.0.0
libmesaegl1-10.0.3-1.mga4.tainted


Can you please show the output of
Code: Select all
rpm -V libmesaegl1

Re: mcc not launching

PostPosted: Mar 18th, '14, 09:57
by rooman
I'll check tonight, thanks.

Re: mcc not launching

PostPosted: Mar 19th, '14, 00:02
by rooman
Before I got home, my son decided to lay around with a partition from within Windows, but said nothing until I saw that Mageia was sticking with:

Code: Select all
"[TIME] Timed out waiting for device blah blah etc
[DEPEND] Dependancy failed for /media/win_f_disk
   "                  "              "       "   Local File systems
   "                   "              "        "  Relabel all filesystems
    "                  "               "       "   Mark the need to reload etc.etc."


and the system asks for root pwd for maintenance, but what to do?

Re: mcc not launching

PostPosted: Mar 19th, '14, 00:07
by doktor5000
Try pressing Ctrl+D.

Otherwise enter root password, and comment out the offending line in /etc/fstab.
The other way would be to boot windows and do a clean shutdown, not the hybrid shutdown/hibernate from windows 8.

The problem is with the windows partition, not with Mageia. For more information check viewtopic.php?p=44495#p44495 or viewtopic.php?p=44468#p44468

Re: mcc not launching

PostPosted: Mar 19th, '14, 10:04
by rooman
Okay, I don't feel very much at ease accessing fstab with vi, I'll do it from a live disk tonight, thanks.

Or from a rescue option of the install dvd? (if available)

Re: mcc not launching

PostPosted: Mar 19th, '14, 22:01
by doktor5000
rooman wrote:Or from a rescue option of the install dvd? (if available)

You can also run vi from the rescue option of the install DVD if that was your question ;)
I'm not sure if the install DVD also contains other editors.

But vi is pretty simple. Navigate to the line, press i to insert and insert # signs at the beginning of the lines with windows partitions.
If you made a mistake, Esc + u will undo your last action(s).
If you're done, press Esc :wq or Esc : x [actually there's no blank between : and x but if written together forum interprets this as :x ]
and then enter to save the file. If unsure, simply make a backup before.

Re: mcc not launching

PostPosted: Mar 20th, '14, 19:04
by rooman
vi woked perfectly thanks and system booted. I have not used vi since early mandrake xfconfig days long ago, returning tp previous problem.

Code: Select all
[root@localhost ~]# rpm -V libmesaegl1
[root@localhost ~]#

= no output at all.

I have manually (urpmi) reinstalled pango, cairo, perl and gtk2.
No change.
An older forum speaks of a similar problem affecting mcc and FF : https://qa.mandriva.com/show_bug.cgi?id=61482, any help doktor?

also
Code: Select all
]$ gedit
gedit: symbol lookup error: /lib/libcairo.so.2: undefined symbol: eglGetProcAddress

Re: mcc not launching

PostPosted: Mar 20th, '14, 21:12
by rooman
Have reinstalled (replaced packages) FF and drakconf

Code: Select all
# mcc
Can't load '/usr/lib/perl5/vendor_perl/5.18.1/i386-linux-thread-multi/auto/Pango/Pango.so' for module Pango: /lib/libcairo.so.2: undefined symbol: eglGetProcAddress at /usr/lib/perl5/5.18.1/i386-linux-thread-multi/DynaLoader.pm line 190.
 at /usr/lib/perl5/vendor_perl/5.18.1/i386-linux-thread-multi/Gtk2.pm line 31.
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.18.1/i386-linux-thread-multi/Gtk2.pm line 31.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.18.1/i386-linux-thread-multi/Gtk2.pm line 31.
Compilation failed in require at /usr/lib/libDrakX/mygtk2.pm line 14.
BEGIN failed--compilation aborted at /usr/lib/libDrakX/mygtk2.pm line 14.
Compilation failed in require at /usr/libexec/drakconf line 39.
BEGIN failed--compilation aborted at /usr/libexec/drakconf line 39.

Code: Select all
# firefox
XPCOMGlueLoad error for file /usr/lib/firefox-24.3.0/libxul.so:
/lib/libcairo.so.2: undefined symbol: eglGetProcAddress
Couldn't load XPCOM.


I found an idea to reinstall gtk2, so I tried;
Code: Select all
[root@localhost ~]# urpmi --replacefiles --replacepkgs gtk2


    $MIRRORLIST: media/core/release/libgtk+2.0_0-2.24.22-3.mga4.i586.rpm
installation de libgtk+2.0_0-2.24.22-3.mga4.i586.rpm depuis /var/cache/urpmi/rpms                   
Préparation...                   ###################################################################
      1/1: libgtk+2.0_0          ###################################################################
/usr/lib/gtk-2.0/bin/gtk-query-immodules-2.0: symbol lookup error: /lib/libcairo.so.2: undefined symbol: eglGetProcAddress
attention : %post(libgtk+2.0_0-2.24.22-3.mga4.i586) scriptlet échoué, état de sortie 127
ERROR: 'script' failed for libgtk+2.0_0-2.24.22-3.mga4.i586:
[root@localhost ~]#

Re: mcc not launching

PostPosted: Mar 20th, '14, 23:35
by doktor5000
I don't have much clues about the whole gtk/gtk2/cairo things or their interdependencies ...
Please report that as a bug, after searching if it hasn't been reported yet already: https://wiki.mageia.org/en/How_to_report_a_bug_properly

Re: mcc not launching

PostPosted: Mar 21st, '14, 17:53
by rooman
I think I'll try to repair with the install dvd and if that does'nt work, do a clean reinstall. Thanks for your help.

Re: mcc not launching

PostPosted: Mar 26th, '14, 18:05
by rooman
Abandoned, I've reinstalled, thanks for your help. But can't see how to mark SOLVED.

Re: mcc not launching

PostPosted: Mar 26th, '14, 18:48
by isadora
You can do so, by editing the title/subject of the first message in the topic.
Place [SOLVED] in front of subject/title.

Thanks ahead!!! :)