From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: WIP SDL packages Date: Sat, 25 Jan 2014 23:09:42 +0100 Message-ID: <87d2jfsogp.fsf@gnu.org> References: <528AD70C.3070406@worcester.edu> <87r4ac961d.fsf@gnu.org> <528C0798.7050000@worcester.edu> <87txf7tjbn.fsf@gnu.org> <87d2lrxc51.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7BV6-0006uk-8y for guix-devel@gnu.org; Sat, 25 Jan 2014 17:14:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7BV0-0000wl-Dg for guix-devel@gnu.org; Sat, 25 Jan 2014 17:14:52 -0500 Received: from hera.aquilenet.fr ([141.255.128.1]:44155) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7BV0-0000wh-62 for guix-devel@gnu.org; Sat, 25 Jan 2014 17:14:46 -0500 In-Reply-To: <87d2lrxc51.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sat, 23 Nov 2013 18:26:34 +0100") 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: David Thompson Cc: guix-devel@gnu.org ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > Commit 558a512 makes libx11 a propagated input, which seemed to be the > right thing. > > I added SDL as an input for QEMU. Now, when run directly, it just fails: > > Could not initialize SDL(No available video device) - exiting > > Looking at strace, I found that it actually needed this: > > LD_LIBRARY_PATH=3D$(guix build libxext)/lib qemu-system-x86_64 ... > > IOW it dlopen=E2=80=99s libXext by default. To avoid the trouble, I thin= k SDL > should either (1) have libXext in its RUNPATH, or (2) be explicitly > linked against it (which is essentially equivalent.) FYI commit 22f33e6 goes with option (1). Ludo=E2=80=99.