Re: [CentOS] Shared object packaging in rpm

2011-06-25 Thread Ned Slider
On 25/06/11 02:15, Joseph L. Casale wrote: I whipped up a quick spec to package Zenoss' wmi client and noticed it creates a libasync_wmi_lib.so.0 and libasync_wmi_lib.so.0.0.1 that their python script would otherwise copy during its install routine (obviously I wrote a native rpm section

Re: [CentOS] Shared object packaging in rpm

2011-06-25 Thread Ned Slider
On 25/06/11 10:04, Ned Slider wrote: On 25/06/11 02:15, Joseph L. Casale wrote: I whipped up a quick spec to package Zenoss' wmi client and noticed it creates a libasync_wmi_lib.so.0 and libasync_wmi_lib.so.0.0.1 that their python script would otherwise copy during its install routine

Re: [CentOS] Shared object packaging in rpm

2011-06-25 Thread Joseph L. Casale
http://www.ibm.com/developerworks/library/l-shobj/ Thanks, that was informative. As Ljubomir said, libasync_wmi_lib.so.0 will be a symlink to libasync_wmi_lib.so.0.0.1. You can use objdump to find the soname(s) for shared objects, e.g: objdump -p /path/to/libasync_wmi_lib.so.0.0.1 | grep

[CentOS] Shared object packaging in rpm

2011-06-24 Thread Joseph L. Casale
I whipped up a quick spec to package Zenoss' wmi client and noticed it creates a libasync_wmi_lib.so.0 and libasync_wmi_lib.so.0.0.1 that their python script would otherwise copy during its install routine (obviously I wrote a native rpm section for installation). Anyone know the naming

Re: [CentOS] Shared object packaging in rpm

2011-06-24 Thread Ljubomir Ljubojevic
Joseph L. Casale wrote: I whipped up a quick spec to package Zenoss' wmi client and noticed it creates a libasync_wmi_lib.so.0 and libasync_wmi_lib.so.0.0.1 that their python script would otherwise copy during its install routine (obviously I wrote a native rpm section for installation).