Re: CRM114 php extension
Thomas Spahni <[email protected]> Wed, 11 Jan 2012 17:33:50 +0100 (CET)
| Newsgroups | gmane.mail.spam.crm114 |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 10 Jan 2012, Khalid Ahsein wrote: > Hi Thomas, > I seem that the PHP macro check for a shared library. Hi Khalid, This would explain a lot. > libcrm114 cannot be packaged for shared link ? Certainly I can package a shared library, preferrably in addition to the static library. The Makefile would have to produce libcrm114.so which I would package as libcrm114.so.1.0.0 or similar (according to the actual version) and add a symbolic link libcrm114.so in the package. This means we would need proper versioning so that several versions could co-exist in the future. In an ideal world the upstream source should be named to show the version; libcrm114-1.0.0.tar.gz as an example. The major version number is to be counted up when a new version is no longer backward compatible to previous versions. The middle number counts up for every release introducing a backward compatible change in the API and the minor number is for bugfix releases. I really would like to see this done in the Makefile upstream rather than adding a patch to my spec file. Bill: any chance that you consider to change your Makefile to produce an additional dynamic library? > If not I will try to link crm114.c with libcrm114.a like Bill's > simple_demo.c Dynamic linking would be preferred as per openSUSE policy. We should get it right, or the packages will never find a way out of my home: repo into the main distribution. Best regards, Thomas ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox