Skip to contentSkip to conversation

configure flag for compilation question..

Qemu-devel Ben Taylor 2 participants 2 messages Oct 13, 2006 – Oct 14, 2006

lore
Share & tools
lore

Ben Taylor

author
#0 lore raw
Quoted 10 lines · ---- Ishwar Rattan
Quoted 6 lines · Martin Bochnig
Quoted 1 line · Ishwar Rattan

Where is the problem 64bit versus 32bit ?
(32 bit version of libSDL-1.2.so.0 found while amd64 64bit version needed?) (should go under /usr/local/lib/amd64/libSDL-1.2.so.0)

Quoted 7 lines

Well, the problem is I do not root privileges so can't place libSL in /usr/local/lib or /usr/local/lib/amd64.

I would like to keep it in $HOME/lib and want qemu to see the lib archive.

I will try LD_LIBRARY_PATH option.

It should work. the main thing is to not to agressive with LD_LIBRARY_PATH in this case. Since it sounds like it already may be linking against /usr/local/lib where the current libSDL is, you should just be able to add the new lib dir to the LD_LIBRARY_PATH env variable, and then run ldd on qemu to make sure it's finding the right libraries. When you have the right LD_LIBRARY_PATH, then it should be working for you.

Quoted 2 lines

Is to possible to have a staticly
linked version of libSDL in the qemu binaries?

There is an option for statically linked libSDL in the qemu binaries, and I tried to make sure I kept that intact for solaris in the configure script. Try it and see what happens.

Ben

#1 lore raw
Quoted 35 lines · Ben Taylor
Quoted 13 lines · ---- Ishwar Rattan
Quoted 9 lines · Martin Bochnig

Ishwar Rattan wrote:

Where is the problem 64bit versus 32bit ?
(32 bit version of libSDL-1.2.so.0 found while amd64 64bit version needed?) (should go under /usr/local/lib/amd64/libSDL-1.2.so.0)

Quoted 9 lines

Well, the problem is I do not root privileges so can't place libSL in /usr/local/lib or /usr/local/lib/amd64.

I would like to keep it in $HOME/lib and want qemu to see the lib archive.

I will try LD_LIBRARY_PATH option.

It should work. the main thing is to not to agressive with LD_LIBRARY_PATH in this case. Since it sounds like it already may be linking against /usr/local/lib where the current libSDL is, you should just be able to add the new lib dir to the LD_LIBRARY_PATH env variable, and then run ldd on qemu to make sure it's finding the right libraries. When you have the right LD_LIBRARY_PATH, then it should be working for you.

Quoted 8 lines
Quoted 4 lines

Is to possible to have a staticly
linked version of libSDL in the qemu binaries?

There is an option for statically linked libSDL in the qemu binaries,

Sounds funny.

Quoted 3 lines

and I tried to make sure I kept that intact for solaris in the configure script.

wow

Quoted 3 lines

Try it and see what happens.

Not much.

Quoted 11 lines

Ben

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel