[PATCH] Export the symbol osinfo_product_get_codename

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Giuseppe Scrivano <gscrivan@xxxxxxxxxx>
---
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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux