On Fri, Jan 19, 2018 at 12:14:45PM +0300, Roman Simakov wrote:
> 
> It seems that we have a problem with installation of Firebird 3 on
> OpenSuse. I get "Could not find acceptable ICU library".
> 
> I took a look into sources. FB tries to search ICU modules in some
> magic manner combining major and minor versions. But it looks in Suse
> icu libraries has additional prefix like ".1" or "_1". I tries to make
> symlink and server could find .so! However it could not find functions
> because of the same problem. They also use such suffixes.
> 
> Anybody can fix a magic of library and functions looking up or at
> least explain me an idea of naming?

The reason for SUSE ICU package using different soname is that upstream
ICU makes incompatible API changes without updating major version number
(and, therefore, soname) from time to time. That's why SUSE packages add
minor version to soname.

The 3.0 package in Tumbleweed (openSUSE:Factory) is patched to handle
this but it's rather an ugly hack that I didn't dare to submit to
(Firebird) upstream.

Another problem is that this hack is not very future proof as it just
adds a list of versions to existing array. Neither is the original
Firebird code but while it's going to "run out of numbers" with ICU 70,
my hack already did when ICU 60 hit Factory. Dimstar band-aided this by
adding 60 to the array but I'll have to add few more numbers so that we
are good for some more time (at least until 70 when upstream code needs
updating too). Unfortunately there is no chance I would find time to
resolve this properly in near future.

For the record, the test OBS repositories home:mkubecek:firebird40 and
home:mkubecek:firebird30 are not patched yet but those are currently few
months behind upstream git anyway.

Michal Kubecek


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to