Bug 1023437 - No /usr/lib64/libgettextlib.so.0
Summary: No /usr/lib64/libgettextlib.so.0
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: gettext
Version: 19
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Daiki Ueno
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-25 12:19 UTC by Milan Bouchet-Valat
Modified: 2013-10-28 09:50 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-28 09:50:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.