Bug 1023437

Summary: No /usr/lib64/libgettextlib.so.0
Product: [Fedora] Fedora Reporter: Milan Bouchet-Valat <nalimilan>
Component: gettextAssignee: Daiki Ueno <dueno>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 19CC: dueno, i18n-bugs, nalimilan, petersen, praiskup
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-28 09:50:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Milan Bouchet-Valat 2013-10-25 12:19:31 UTC
I'm not sure this is by design or a simple mistake, but gettext-libs does not provide /usr/lib64/libgettextlib.so.0 nor  /usr/lib64/libgettextlib.so nor /usr/lib64/libgettextlib.so.0.18.2. Instead there is only /usr/lib64/libgettextlib-0.18.2.so.

This means that programs that expect the generic libgettextlib.so.0 do not find it. In my case this is when installing the Julia package Cairo: it needs to add explicitly libgettextlib-0.18.2.so for Fedora. But when the next version is out the package will have to be adapted again, which means that Fedora users will often get trouble with that program.

$ rpm -q --filesbypkg gettext-libs
gettext-libs              /usr/lib64/libasprintf.so.0
gettext-libs              /usr/lib64/libasprintf.so.0.0.0
gettext-libs              /usr/lib64/libgettextlib-0.18.2.so
gettext-libs              /usr/lib64/libgettextpo.so.0
gettext-libs              /usr/lib64/libgettextpo.so.0.5.2
gettext-libs              /usr/lib64/libgettextsrc-0.18.2.so

Comment 1 Daiki Ueno 2013-10-28 07:40:01 UTC
libgettextlib.so seems to have been removed after bug 650471 (I wonder if the original problem is still there - if glib2-devel is available when building gettext, the internal copy of glib shouldn't be used).

Anyway, still, it is not recommended to link with the gettext internal library.  Do you know why the Julia package requires it?

Comment 2 Milan Bouchet-Valat 2013-10-28 09:50:08 UTC
Oh, sorry, so the mistake is probably in the Cairo Julia package. libgettextlib is apparently only used to detect whether the gettext package is installed or not, and "gettext" does not even appear in the code. Let's see what they say first.

https://github.com/JuliaLang/Cairo.jl/issues/36