[Spice-devel] Spice compile error

Liang Guo bluestonechina at gmail.com
Mon Jun 27 10:20:52 PDT 2011


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

I found the root of this problem, spicec is linked with -lCEGUIBase,
and /usr/lib/libCEGUIBASE.la have

dependency_libs=' /usr/lib/libfreetype.la -lz -lpcre -lfreeimage -lGLU -lGL'

but libfreetype.la is in /usr/lib/x86_64-linux-gnu,

Change dependency_libs to /usr/lib/x86_64-linux-gnu/libfreetype.la can
let spicec be compiled successfullly.

I've report this bug to Debian[1]

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631837
-- 
Liang Guo
http://bluestone.cublog.cn


More information about the Spice-devel mailing list