guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WIP SDL packages


From: Ludovic Courtès
Subject: Re: WIP SDL packages
Date: Sat, 25 Jan 2014 23:09:42 +0100
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

address@hidden (Ludovic Courtès) 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=$(guix build libxext)/lib qemu-system-x86_64 ...
>
> IOW it dlopen’s 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.)

FYI commit 22f33e6 goes with option (1).

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]