[Libguestfs] compile libguestfs 1.19.35

Wanlong Gao gaowanlong at cn.fujitsu.com
Fri Aug 31 05:35:40 UTC 2012


On 08/31/2012 01:28 PM, 周涛 wrote:
> hi Jones!
>  
> i configured this virsion with the following command :
> ./configure --disable-ocaml --disable-perl --disable-ruby --disable-haskell --disable-php  --with-java-home=no

Add --disable-gobject can solve this problem.


Thanks,
Wanlong Gao

> but make command leads to :
> 
>     make[5]: Entering directory `/home/zhoutao/upload/libguestfs-1.19.35/generator'
>     make[5]: `stamp-generator' is up to date.
>     make[5]: Leaving directory `/home/zhoutao/upload/libguestfs-1.19.35/generator'
>       GISCAN Guestfs-1.0.gir
>     /usr/local/lib/libguestfs.so.0: undefined reference to `guestfs___read_db_dump'
>     collect2: error: ld returned 1 exit status
> 
>         linking of temporary binary failed: Command '['bash', '../libtool-kill-dependency_libs.sh', '../libtool', '--mode=link', '--tag=CC', '--silent', 'gcc', '-o', '/home/zhoutao/upload/libguestfs-1.19.35/gobject/tmp-introspectoNR7uD/Guestfs-1.0', '-export-dynamic', '/home/zhoutao/upload/libguestfs-1.19.35/gobject/tmp-introspectoNR7uD/Guestfs-1.0.o', '-L.', 'libguestfs-gobject-1.0.la', '-pthread', '-Wl,--export-dynamic', '-lgio-2.0', '-lgobject-2.0', '-lgthread-2.0', '-lgmodule-2.0', '-lrt', '-lglib-2.0']' returned non-zero exit status 1
> 
>     make[4]: *** [Guestfs-1.0.gir] Error 1
>     make[4]: Leaving directory `/home/zhoutao/upload/libguestfs-1.19.35/gobject'
>     make[3]: *** [all-recursive] Error 1
>     make[3]: Leaving directory `/home/zhoutao/upload/libguestfs-1.19.35/gobject'
>     make[2]: *** [all] Error 2
>     make[2]: Leaving directory `/home/zhoutao/upload/libguestfs-1.19.35/gobject'
>     make[1]: *** [all-recursive] Error 1
>     make[1]: Leaving directory `/home/zhoutao/upload/libguestfs-1.19.35'
>     make: *** [all] Error 2
> 
> is there something need to be installed? could you help me oncemore.
>  
> Thanks!
>  
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> 周涛
> 
> ---------------------------------------------------------------------------------------------------
> Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s)
> is intended only for the use of the intended recipient and may be confidential and/or privileged of
> Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is
> not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying
> is strictly prohibited, and may be unlawful.If you have received this communication in error,please
> immediately notify the sender by return e-mail, and delete the original message and all copies from
> your system. Thank you.
> ---------------------------------------------------------------------------------------------------
> 
> 
> 
> _______________________________________________
> Libguestfs mailing list
> Libguestfs at redhat.com
> https://www.redhat.com/mailman/listinfo/libguestfs
> 





More information about the Libguestfs mailing list