0

I have the following setup:

  • I have an archlinux LXC container running on a Ubuntu 18.04 LTS host.
  • No matter what command I execute, I get the following error:

[root@archie /]# pacman -Syu
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

  • I have libgtk3-nocsd installed on the host Ubuntu 18.04 (even though I don't think that that matters as the error only happens when executing commands inside the archlinux container).

  • As far as I know this libgtk3-nocsd.so.0 is a Debian/Ubuntu specific library which should not really be present or needed on archlinux. Anyways pacman -Ss for nocsd or similar sounding names turned up empty.

My problem is similar to this question but none of the solutions mentioned for that question work for me.

Duck Dodgers
  • 3,409
  • 8
  • 29
  • 43

1 Answers1

0

I solved that problem today.

  1. From the discussion here, I realized that for arch the equivalent packet is gtk3 (and NOT libgtk3 nor libgtk3-dev nor libgtk3-nocsd, as I was originally searching).

  2. From here I found out that I need to install the gtk3 package by issuing the command:

# pacman -Syu gtk3
  1. And then following from this answer for Ubuntu, I tried something similar for arch, as shown below:
#export LD_PRELOAD=/usr/lib/libgtk-3.so.0

and now the error no longer appears.

(If not obvious, all of these steps were done inside the arch container, of course.)

Duck Dodgers
  • 3,409
  • 8
  • 29
  • 43