[virt-tools-list] [PATCH] Export the symbol osinfo_product_get_codename
Christophe Fergeau
cfergeau at redhat.com
Tue Aug 27 08:06:24 UTC 2013
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 <gscrivan at redhat.com>
> ---
> 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
> virt-tools-list at redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20130827/1bfac780/attachment.sig>
More information about the virt-tools-list
mailing list