[pcre-dev] [Bug 1207] New: Wrong setting of library version

Page principale
Supprimer ce message
Auteur: Juergen Daubert
Date:  
À: pcre-dev
Sujet: [pcre-dev] [Bug 1207] New: Wrong setting of library version
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1207
           Summary: Wrong setting of library version
           Product: PCRE
           Version: 8.30
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: jue@???
                CC: pcre-dev@???



Because of setting

m4_define(libpcre_version, [1:0:0])

in configure.ac we get the libpcre-library soname as

libpcre.so.1.0.0

With version 8.21 the soname is libpcre.so.0.0.1 which means that everything
that is linked with libpcre must be recompiled against the new version. I don't
think that this is intended nor necessary.

If I understood the manual of libtool, see [1], correct we should set the
version as follows:

m4_define(libpcre_version, [1:0:1])

With that setting the library version will be libpcre.so.0.2.0


[1]
http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email