[Spice-devel] Problem installing Spice 0.8.1

Andrea Celestino celestino.andrea at gmail.com
Wed Jun 29 03:34:40 PDT 2011


If I move libspice-server libraries to /usr/bin there are not any problem
and qemu starts correctly

ldd ./qemu-system-x86_64 | grep spice
->libspice-server.so.1 => /usr/lib/libspice-server.so.1 (0x00007f105edee000)



If I move libspice-server libraries to /usr/local/bin

ldd ./qemu-system-x86_64 | grep spice
->libspice-server.so.1 => /usr/local/lib/libspice-server.so.1
(0x00007fe07e24f000)

but when I run qemu I obtain the following error:
./qemu-system-x86_64: error while loading shared libraries:
libspice-server.so.1: cannot open shared object file: No such file or
directory

Qemu starts only if I put spice server libraries in /usr/lib.


2011/6/29 Christophe Fergeau <cfergeau at redhat.com>

> On Wed, Jun 29, 2011 at 11:23:45AM +0200, Andrea Celestino wrote:
> > I checked with 'ldd' where qemu it's looking for spice-server:
> > /usr/lib/
> > but I installed spice 0.8.1 libraries in /usr/local/lib. This is the
> > problem.
> >
> > I have tried to rebuild qemu after the command
> > export LD_LIBRARY_PATH=/usr/local/lib
> > but I didn't solve the problem. He looks for spice server in /usr/lib and
> > not in /usr/local/lib.
>
> LD_LIBRARY_PATH is not used at compile time, it's used by the runtime
> linker to locate libraries. You can compare
> ldd ... | grep spice
> with
> LD_LIBRARY_PATH=/usr/local/lib ldd ... | grep spice
>
> Christophe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20110629/16cd4f59/attachment.htm>


More information about the Spice-devel mailing list