@luanlmd if you dont mind to use previous version.
then you clone this repo and checkout the previous commit then install it.
Git Clone URL: | https://aur.archlinux.org/mongodb-compass-bin.git (read-only, click to copy) |
---|---|
Package Base: | mongodb-compass-bin |
Description: | The official GUI for MongoDB - binary version |
Upstream URL: | https://www.mongodb.com/products/compass |
Keywords: | compass mongodb |
Licenses: | SSPL-1.0 |
Conflicts: | mongodb-compass |
Provides: | mongodb-compass |
Submitter: | dpeukert |
Maintainer: | dpeukert (ogarcia) |
Last Packager: | dpeukert |
Votes: | 3 |
Popularity: | 1.36 |
First Submitted: | 2025-05-12 06:05 (UTC) |
Last Updated: | 2025-06-25 07:11 (UTC) |
@luanlmd if you dont mind to use previous version.
then you clone this repo and checkout the previous commit then install it.
@dpeukert I'm having the same problem and just tried mongodb-compass-beta-bin
Installing mongodb-compass-beta-bin (1.46.4.beta.0-1)...
mongodb-compass-beta
(process:381520): Gtk-ERROR **: 11:54:59.018: GTK 2/3 symbols detected. Using GTK 2/3 and GTK 4 in the same process is not supported
zsh: trace trap (core dumped) mongodb-compass-beta
@DFS, @BishWajit, @thyagocl, @datafieber: Looks like this was fixed by upstream by setting gtk-version
internally (https://github.com/mongodb-js/compass/commit/919a84566558f5cc3408238b9005e6fe2687e164). Can you check if mongodb-compass-beta-bin fixes this for you?
Following my previous comment, I managed to update the package by running yay --mflags "--nocheck"
. Which is probably not great, but at least it worked.
After that, I did what @datafieber suggested with the flags to force gtk 3 and managed to launch compass without problems, apparently.
Hope this helps anyone else with this issue :)
running mongodb from terminal with this command works for me! mongodb-compass --gtk-version=3 --ignore-additional-command-line-flags
also with the customized gnome startscript unter /usr/share/applications/mongodb-compass.desktop. change the line with "Exec" to Exec=mongodb-compass --gtk-version=3 --ignore-additional-command-line-flags %U
@dpeukert I had a similar issue with Slack some weeks ago and fixed it by following this: https://aur.archlinux.org/packages/slack-desktop#comment-1024447.
But here, I'm getting the error still in the check for the installation of the update, so I don't know how to work around it. Any ideas? :/
By the way, I tried creating a .config/electron-flags.conf
with the flag, but it didn't seem to change anything. I'm not sure that already affects the update process.
@dpeukert tried on fresh arch install but same issue
Not found any solution till now
GTK 2/3 symbols detected. Using GTK 2/3 and GTK 4 in the same process is not supported
@DFS, @Bishwajit: This seems to be an upstream Electron/Chromium issue (https://github.com/electron/electron/issues/46538, https://www.electronjs.org/blog/electron-36-0#behavior-changed-gtk-4-is-the-default-when-running-on-gnome), adding --gtk-version=3
to .config/electron-flags.conf
should hopefully fix this (can't verify, as I haven't been able to reproduce this).
(process:31704): Gtk-ERROR **: 10:04:05.100: GTK 2/3 symbols detected. Using GTK 2/3 and GTK 4 in the same process is not supported
==> ERROR: A failure occurred in check().
(process:324634): Gtk-ERROR **: 07:18:44.344: GTK 2/3 symbols detected. Using GTK 2/3 and GTK 4 in the same process is not supported
Pinned Comments
dpeukert commented on 2025-05-12 06:08 (UTC)
The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/mongodb-compass