Thanks for noticing this, I've now pushed your patch.

Christophe

On Mon, Aug 26, 2013 at 03:02:33PM +0200, Giuseppe Scrivano wrote:
> Signed-off-by: Giuseppe Scrivano <[email protected]>
> ---
> while playing with libosinfo from Python I got this error:
> 
> Traceback (most recent call last):
>   File "./demo2.py", line 16, in <module>
>     print os.get_codename()
>   File "/usr/lib/python2.7/site-packages/gi/types.py", line 113, in function
>     return info.invoke(*args, **kwargs)
> gi._glib.GError: Could not locate osinfo_product_get_codename: 
> `osinfo_product_get_codename': /usr/local/lib/libosinfo-1.0.so.0: undefined 
> symbol: osinfo_product_get_codename
> 
> the following patch fixes it.
> 
>  osinfo/libosinfo.syms | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/osinfo/libosinfo.syms b/osinfo/libosinfo.syms
> index bb5fc6f..c56ff1f 100644
> --- a/osinfo/libosinfo.syms
> +++ b/osinfo/libosinfo.syms
> @@ -419,6 +419,10 @@ LIBOSINFO_0.2.7 {
>       osinfo_platform_get_all_devices;
>  } LIBOSINFO_0.2.6;
>  
> +LIBOSINFO_0.2.8 {
> +     osinfo_product_get_codename;
> +} LIBOSINFO_0.2.7;
> +
>  /* Symbols in next release...
>  
>    LIBOSINFO_0.0.2 {
> -- 
> 1.8.3.1
> 
> _______________________________________________
> virt-tools-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/virt-tools-list

Attachment: pgp8xmK2xdEQ7.pgp
Description: PGP signature

_______________________________________________
virt-tools-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-tools-list

Reply via email to