From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QmrDtnJuIEjDtmZsaW5n?= Subject: libgtk3-nocsd and LD_PRELOAD (Was: bug#33861: Problem building sources for guile-bash) Date: Tue, 5 Feb 2019 22:25:41 +0100 Message-ID: <20190205222541.54303e66@alma-ubu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/jY+uoPw+TvZ/hmcwKQd1Hkb"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:39687) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gr8Dx-0002YI-Eo for guix-devel@gnu.org; Tue, 05 Feb 2019 16:25:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gr8Dv-0005GT-Ob for guix-devel@gnu.org; Tue, 05 Feb 2019 16:25:45 -0500 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel --Sig_/jY+uoPw+TvZ/hmcwKQd1Hkb Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Ludo, On Sat, 19 Jan 2019 11:21:56 +0100 Ludovic Court=C3=A8s wrote: > Bj=C3=B6rn H=C3=B6fling skribis: >=20 > > $ guix build -S guile-bash > > ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be > > preloaded (cannot open shared object file): ignored. =20 >=20 > Plus, warranty void if you fiddle with LD_PRELOAD or LD_LIBRARY_PATH. > :-) I haven't done anything. It was my Distro [yes, I should use a different one, but still some key packages missing] :-) I'm unsure on what to do with this, probably will just unset it somewhere: I'm using Guix on top of Ubuntu. Error appears when using programs installed from Guix. After some investigations, I found out this environment variable is set in: /etc/X11/Xsession.d/51gtk3-nocsd-detect *) # not GNOME, and the user didn't specify GTK_CSD # themselves, so set it to 0 if [ -z "$GTK_CSD" ] ; then GTK_CSD=3D0 fi export GTK_CSD if [ x"$GTK_CSD"x =3D x"0"x ] ; then export LD_PRELOAD=3D"libgtk3-nocsd.so.0${LD_PRELOAD:+:$LD_PRE fi ;; I'm currently using a non-GNOME windowing environment, so I'm in this case. The library is this: https://github.com/PCMan/gtk3-nocsd It should make some things nicer if you don't use GNOME. This seams to be a hack. Do we need this library in Guix too, to get some decorations back? Bj=C3=B6rn --Sig_/jY+uoPw+TvZ/hmcwKQd1Hkb Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQQiGUP0np8nb5SZM4K/KGy2WT5f/QUCXFn/VQAKCRC/KGy2WT5f /Y99AJwMzgDe9Ute0emHu9O6bwMZroxzRACfUvExpH4yPDvxywyn30BTtwereFw= =H6x/ -----END PGP SIGNATURE----- --Sig_/jY+uoPw+TvZ/hmcwKQd1Hkb--