[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gettext] [bug #56305] Incompatible DLL name
From: |
Ken Takata |
Subject: |
[bug-gettext] [bug #56305] Incompatible DLL name |
Date: |
Fri, 10 May 2019 21:56:27 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0 |
URL:
<https://savannah.gnu.org/bugs/?56305>
Summary: Incompatible DLL name
Project: GNU gettext
Submitted by: k_takata
Submitted on: Sat 11 May 2019 01:56:25 AM UTC
Category: Build
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Hi,
When I built gettext 0.19.8.1 on MinGW, the DLL name of libintl
was libintl-8.dll.
But now I build gettext 0.20, the name becomes libintl-7.dll.
The interface number was decremented from 8 to 7, so gettext 0.20
is not binary compatible with 0.19.8.1 or before.
(I think that the same thing occurs in linux, etc.)
If gettext 0.20's API is compatible with 0.19, the file name
should keep libintl-8.dll. Otherwise it should be libintl-9.dll,
not libintl-7.dll.
This is caused by the -version-info option for Libtool set in
gettext-tools/intl/Makefile.
In 0.19.8.1, it was -version-info 9:5:1, but in 0.20, it is
changed to -version-info 9:6:2.
To keep the binary compatibility, -version-info should be
9:6:1, 10:0:2 or something. If the AGE is incremented, the
CURRENT should be also incremented.
cf.
https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56305>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug-gettext] [bug #56305] Incompatible DLL name,
Ken Takata <=