Gnome-contacts error under Solus

Hi all @popey suggested I post here and to tag @kenvandine

I just tried installing gnome-contacts on Solus 3

sudo snap install gnome-contacts --classic

This installed as expected, but when running it from the CLI I get the below, if I can help in anyway or point me in the direction of what I can do to help, interested in learning.

andy@asuras ~ $ gnome-contacts 
update-mime-database: error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory
/snap/gnome-contacts/12/usr/lib/x86_64-linux-gnu/glib-2.0/gio-querymodules: error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory
/snap/gnome-contacts/12/usr/lib/x86_64-linux-gnu/glib-2.0/glib-compile-schemas: error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory
/snap/gnome-contacts/12/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders: error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory
gtk-update-icon-cache: error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory
WARNING: icon cache generation failed for /home/andy/snap/gnome-contacts/12/.local/share/icons/Adwaita
gtk-update-icon-cache: error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory
WARNING: icon cache generation failed for /home/andy/snap/gnome-contacts/12/.local/share/icons/DMZ-Black
gtk-update-icon-cache: error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory
WARNING: icon cache generation failed for /home/andy/snap/gnome-contacts/12/.local/share/icons/DMZ-White
gtk-update-icon-cache: error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory
WARNING: icon cache generation failed for /home/andy/snap/gnome-contacts/12/.local/share/icons/hicolor
gtk-update-icon-cache: error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory
WARNING: icon cache generation failed for /home/andy/snap/gnome-contacts/12/.local/share/icons/Humanity
gtk-update-icon-cache: error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory
WARNING: icon cache generation failed for /home/andy/snap/gnome-contacts/12/.local/share/icons/Humanity-Dark
gtk-update-icon-cache: error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory
WARNING: icon cache generation failed for /home/andy/snap/gnome-contacts/12/.local/share/icons/LoginIcons
gtk-update-icon-cache: error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory
WARNING: icon cache generation failed for /home/andy/snap/gnome-contacts/12/.local/share/icons/ubuntu-mono-dark
gtk-update-icon-cache: error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory
WARNING: icon cache generation failed for /home/andy/snap/gnome-contacts/12/.local/share/icons/ubuntu-mono-light
/snap/gnome-contacts/12/usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0: error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory
/snap/gnome-contacts/12/usr/bin/gnome-contacts: error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory

Unfortunately this is being built with Debian’s non-standard libpcre3 (they changed the ABI) so this breaks portability with every other Linux distribution. On the plus side, we finally gave in (because some game developers are guilty of using the non-portable libpcre3) so in Solus you can just:

sudo eopkg it libpcre3

This is a good candidate to be bundled in the snap… or in the gnome platform snap.

cc @sergiusens @willcooke

This also touches the conversation about classic snaps, Sergio. Any news there?

@niemeyer agreed it’s probably related to the issue that just cropped up with classic snaps. Looking forward to seeing that fixed.

1 Like

I installed libpcre3 from the repos. Running it straight after just returned Segmentation Fault.

So I rebooted. I now receive this

andy@asuras ~ $ gnome-contacts 
/snap/gnome-contacts/12/usr/bin/gnome-contacts: relocation error: /usr/lib/libc.so.6: symbol __tunable_set_val, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference

Also no entry in the menus for it, I have to start from the console.

There has been a regression in classic snaps, look at Classic snaps failing on Ubuntu 17.10