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, 23 Nov 2013 18:26:34 +0100 Message-ID: <87d2lrxc51.fsf@gnu.org> References: <528AD70C.3070406@worcester.edu> <87r4ac961d.fsf@gnu.org> <528C0798.7050000@worcester.edu> <87txf7tjbn.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]:42688) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VkGyi-0005R4-86 for guix-devel@gnu.org; Sat, 23 Nov 2013 12:26:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VkGya-0006h6-V1 for guix-devel@gnu.org; Sat, 23 Nov 2013 12:26:44 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:4537) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VkGya-0006h0-P0 for guix-devel@gnu.org; Sat, 23 Nov 2013 12:26:36 -0500 In-Reply-To: <87txf7tjbn.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Wed, 20 Nov 2013 12:15:56 +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 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 think = SDL should either (1) have libXext in its RUNPATH, or (2) be explicitly linked against it (which is essentially equivalent.) WDYT? Would you like to make that change? Thanks, Ludo=E2=80=99.