All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Barrett <dbarrett@quinthar.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Launch qemu without loading libSDL?
Date: Mon, 17 Mar 2008 20:42:42 -0700	[thread overview]
Message-ID: <47DF3A32.6040904@quinthar.com> (raw)
In-Reply-To: <db7b3ca90803171339p31144b82x97f938476becf90d@mail.gmail.com>

Thanks; ya, I just recompiled it and kqemu and looks like it's going to 
work fine.  Thanks again!

-david

Jonathan Kalbfeld wrote:
> You would probably be better off relinking.  Or, maybe just copy
> libSDL.  If you install the thoughtwave packages on solaris it comes
> with libsdl.
> 
> Thanks,
> 
> jonathan
> 
> On Mon, Mar 17, 2008 at 12:26 PM, David Barrett <dbarrett@quinthar.com> wrote:
>> Continuing on this thread, is there any way to launch the pre-compiled
>>  binaries in such a fashion that they don't dynamically load the SDL
>>  libraries at runtime?  For example:
>>
>>  [root@a3 /]# qemu -nographic ... etc ...
>>  qemu: error while loading shared libraries: libSDL-1.2.so.0: cannot open
>>  shared object file: No such file or directory
>>  [root@a3 /]#
>>
>>  Ideally if the -nographic flag were there, then it won't try to load the
>>  SDL libraries and would "just work" on a server that has no video
>>  output.  Everything else looks like it's ready to go:
>>
>>  [root@a3 /]# ldd /usr/local/bin/qemu
>>          libm.so.6 => /lib/tls/libm.so.6 (0x00917000)
>>          libz.so.1 => /usr/lib/libz.so.1 (0x0093c000)
>>          libSDL-1.2.so.0 => not found
>>          libpthread.so.0 => /lib/tls/libpthread.so.0 (0x009a3000)
>>          librt.so.1 => /lib/tls/librt.so.1 (0x00554000)
>>          libutil.so.1 => /lib/libutil.so.1 (0x009cf000)
>>          libc.so.6 => /lib/tls/libc.so.6 (0x007e4000)
>>          /lib/ld-linux.so.2 (0x007c6000)
>>  [root@a3 /]#
>>
>>
>>  Any suggestions for how to suppress loading of libSDL, or perhaps trick
>>   it into loading a "null" implementation of libSDL that does nothing?
>>
>>  Thanks!
>>
>>  -david
>>
>>
>>
>>
> 
> 
> 

      reply	other threads:[~2008-03-18  4:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-17 20:26 [Qemu-devel] Launch qemu without loading libSDL? David Barrett
2008-03-17 20:39 ` Jonathan Kalbfeld
2008-03-18  3:42   ` David Barrett [this message]

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=47DF3A32.6040904@quinthar.com \
    --to=dbarrett@quinthar.com \
    --cc=qemu-devel@nongnu.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.
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.