[Spice-devel] Spice compile error

Christophe Fergeau cfergeau at redhat.com
Mon Jun 27 03:05:07 PDT 2011


On Mon, Jun 27, 2011 at 05:47:09PM +0800, Liang Guo wrote:
> >> liang at guoliangc:/usr/lib/pkgconfig$ ls -al /usr/lib/x86_64-linux-gnu/libfreetype.la
> >> -rw-r--r-- 1 root root 892  6月 23 05:58 /usr/lib/x86_64-linux-gnu/libfreetype.la
> >>
> >> But spice cannot find it.
> >>
> >> have any one meet such ploblem ?
> >
> > The error you are seeing generally means there is a .la file somewhere on
> > your system which references /usr/lib/libfreetype.la. So I'd try to
> > find/grep la files for /usr/lib/freetype.la to try to figure out what's
> > going on.
> >
> The libfreetype.la in my system is
> /usr/lib/x86_64-linux-gnu/libfreetype.la, not /usr/lib/libfreetype.la
> 
> Why spice is searching for  /usr/lib/freetype.la,

spice is trying to use /usr/lib/freetype.la because one of the library
spice uses has a .la file which lists "/usr/lib/freetype.la" as a library
to link with.

> how can I let it
> searching for /usr/lib/x86_64-linux-gnu/libfreetype.la instead ?

I'd start by figuring out if there's a .la file on your system which
references /usr/lib/libfreetype.la

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20110627/eb0c9ebc/attachment.pgp>


More information about the Spice-devel mailing list