trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: August 2018

Re: [trinity-devel][18.04] can't run mozilla.org firefox esr 60

From: Chris Austin <chris@...>
Date: Sat, 04 Aug 2018 18:50:22 +0100
On Saturday 04 Aug 2018 19:38:46 Michele Calgaro wrote:
> Am Samstag 04 August 2018 schrieb Felix Miata:
> > (firefox:27799): Gtk-ERROR **: 04:42:18.938: GTK+ 2.x symbols detected.
> > Using GTK+ 2.x and GTK+ 3 in the same process is not supported
> 

Hello,

I'm running Trinity R14.0.4 installed over Debian 8.7, and I'm very happy with 
Trinity.

By coincidence, late yesterday and earlier today, I had exactly the same 
problem as Felix, for a different program.  I had installed kgtk-qt3-trinity 
earlier yesterday, so suspected that might be causing the problem, so I 
removed that package, and the problem disappeared.  Now I have seen Stefan's 
message, suggesting exactly that.

But after removing kgtk-qt3-trinity, I have a minor new problem: simple Linux 
programs like cp and diff, in Konsole, give an erroneous error message before 
their output:

ERROR: ld.so: object '/opt/trinity/lib/kgtk/libkgtk2.so' from LD_PRELOAD 
cannot be preloaded (cannot open shared object file): ignored.

I have never seen anything like that before, so I think it must be a 
consequence of installing and then removing kgtk-qt3-trinity.  The description 
of the package says, "This is an LD_PRELOAD hack ... ."  Purging the package 
has not fixed the problem.  The erroneous error message appears in Konsole-
Trinity, Konsole-KDE4, UXTerm, and XTerm, all running in Trinity.

The Linux programs, e.g. cp and diff, still seem to be working properly, so it 
is probably not a serious issue.  The erroneous error messages just clutter up 
the Konsole window.

> You have both gtk2 and gtk3 engine installed and TDE is not happy. TRy
> removing one of them and it will work. Had the same issue a few weeks ago
> when I was testing something related to GTK
> 

I cannot remove gtk2-engines or gtk3-engines*, because:

root@debian:/home/chris/Debian# dpkg --no-act -r gtk2-engines
dpkg: dependency problems prevent removal of gtk2-engines:amd64:
 gnome-core depends on gtk2-engines (>= 2.20.2).

dpkg: error processing package gtk2-engines:amd64 (--remove):
 dependency problems - not removing
Errors were encountered while processing:
 gtk2-engines:amd64

root@debian:/home/chris/Debian# dpkg --no-act -r gtk3-engines
dpkg: warning: ignoring request to remove gtk3-engines which isn't installed

root@debian:/home/chris/Debian# dpkg --no-act -r gtk3-engines-oxygen
dpkg: warning: ignoring request to remove gtk3-engines-oxygen which isn't 
installed

root@debian:/home/chris/Debian# dpkg --no-act -r gtk3-engines-xfce
dpkg: warning: ignoring request to remove gtk3-engines-xfce which isn't 
installed

(gtk3-engines without -something does not seem to be a Debian Jessie package, 
at the moment.)  I don't use Gnome, although I have some Gnome applications 
installed, so I could possibly remove gnome-core and reinstall kgtk-qt3-
trinity, if there's no other way to fix the problem with the erroneous error 
message.  But I wondered if there might be some way to clean up the removal of 
kgtk-qt3-trinity.

With best regards,
Chris Austin