'ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded

Running into this issue when working with Hugo and the AWS CLI on Ubuntu 18.04.

ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (failed to map segment from shared object): ignored.

This is a fresh install of Ubuntu 18.04, Hugo, and AWS CLI.



Solution 1:[1]

Running

$ sudo grep -r LD_PRELOAD /etc $HOME

I found lots of configuration files of the removed package gtk3-nocsd like

/etc/X11/Xsession.d/51gtk3-nocsd-detect: export LD_PRELOAD="libgtk3-nocsd.so.0${LD_PRELOAD:+:$LD_PRELOAD}"

Just remove those old configuration with:

$ sudo apt-get purge gtk3-nocsd

Solution 2:[2]

in file /etc/X11/Xsession.d/51gtk3-nocsd-detect change the line # 22 to

export LD_PRELOAD="/usr/lib/x86_64-linux-gnu/libgtk3-nocsd.so.0"

Solution 3:[3]

I may found the issue. Seems like SoftwareSerial and Neopixel library are using both interrupts which then corrupts neo pixel communication.

Found here: https://forum.arduino.cc/t/arduino-nano-softwareserial-adafruit_neopixel-problem/540057/2

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1
Solution 2 Angelos Karageorgiou
Solution 3 fragsalat