all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: David Thompson <dthompson2@worcester.edu>
Cc: guix-devel@gnu.org
Subject: Re: WIP SDL packages
Date: Sat, 23 Nov 2013 18:26:34 +0100	[thread overview]
Message-ID: <87d2lrxc51.fsf@gnu.org> (raw)
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")

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.)

WDYT?  Would you like to make that change?

Thanks,
Ludo’.

  reply	other threads:[~2013-11-23 17:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-19  3:12 WIP SDL packages David Thompson
2013-11-19  7:58 ` Ludovic Courtès
2013-11-20  0:51   ` David Thompson
2013-11-20 11:15     ` Ludovic Courtès
2013-11-23 17:26       ` Ludovic Courtès [this message]
2014-01-25 22:09         ` Ludovic Courtès
2014-01-26 18:40           ` David Thompson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d2lrxc51.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=dthompson2@worcester.edu \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.