Sam Varshavchik wrote: > Guillaume Rousse writes: > >> Sam Varshavchik wrote: >>> Guillaume Rousse writes: >>> >>>> As per standard packaging process, only the versioned files are shipped >>>> in the runtime package, and the unversioned .so files are shipped in >>>> the >>>> devel package only. But it doesn't work: >>>> http://qa.mandriva.com/show_bug.cgi?id=22575 >>>> >>>> I could just move the .so from the devel to the runtime package, but >>>> actually I'm not really sure the .so.x.y.z files are really useful at >>>> all. From my understanding of how authdaemon works, those plugins are >>>> dynamically loaded through dlopen, not linked at compilation time. I've >>> >>> Correct. authdaemon dlopens the .so files. >> So, what about using the given libtool options ? > > -module should already be passed by automake. Otherwise you won't get > the .so in the first place. You don't need any libtool special flags to create .so files, libtool is called with --version-info 0:0:0 by default and creates corresponding symlinks. See what happens with non-modules libraries, such as libcourierauthsaslclient.so
> libtool uses two versioning systems in parallel aka --release and --version-info (the default). > -- I'll need to > investigate what -avoid-version does; I'm not 100% sure that it actually > affects the filenames. It does, by creating only a .so file, not a so.x.y.y + a symlink. From documentation: "Tries to avoid versioning (see Versioning) for libraries and modules, i.e. no version information is stored and no symbolic links are created. If the platform requires versioning, this option has no effect. " ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Courier-imap mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
