Installation of Firebird 3.0.3 on SLES 12 SP3 fails with ''Could not find 
acceptable ICU library"
-------------------------------------------------------------------------------------------------

                 Key: CORE-5764
                 URL: http://tracker.firebirdsql.org/browse/CORE-5764
             Project: Firebird Core
          Issue Type: Bug
          Components: Installation
    Affects Versions: 3.0.3
         Environment: SUSE Linux Enterprise Server 12 SP3, 64-bit
Firebird-3.0.3, 64-bit (installation package: 
Firebird-3.0.3.32900-0.amd64.tar.gz)
No other Firebird Server version are present (or were present) on target 
system. Firebird 3.0.3 should have been first and only Firebird instance.
            Reporter: Miroslav Vacek


If I try to install Firebird 3.0.3 on SLES 12 SP3 I get following error message:
"Could not find acceptable ICU library"

Pre-requisities:
1) Install libtommath1 on target system (it is not part of default SLES 
distribution packages).\
=============================================
$ zypper install libtommath1
=============================================
2) Create symlink "libtommath.so.0" for "/usr/lib64/libtommath.so.1".
=============================================
$ ln -sf /usr/lib64/libtommath.so.1 /usr/lib64/libtommath.so.0
=============================================
3) Check presence of default libicu library. Version 52.1 should be present.
=============================================
$ rpm -ql libicu52_1

# /usr/lib64/libicudata.so.52.1
# /usr/lib64/libicudata.so.52_1
# /usr/lib64/libicui18n.so.52.1
# /usr/lib64/libicui18n.so.52_1
# /usr/lib64/libicuio.so.52.1
# /usr/lib64/libicuio.so.52_1
# /usr/lib64/libicule.so.52.1
# /usr/lib64/libicule.so.52_1
# /usr/lib64/libiculx.so.52.1
# /usr/lib64/libiculx.so.52_1
# /usr/lib64/libicutest.so.52.1
# /usr/lib64/libicutest.so.52_1
# /usr/lib64/libicutu.so.52.1
# /usr/lib64/libicutu.so.52_1
# /usr/lib64/libicuuc.so.52.1
# /usr/lib64/libicuuc.so.52_1
=============================================


Steps to reproduce problem:
1) Download Firebird 3.0.3 installation package for 64-bit Linux.
2) Extract installation package on target system.
3) Run "install.sh" script from extracted archive.

=============================================
$ ./install.sh

Firebird 3.0.3.32900-0.amd64 Installation

Press Enter to start installation or ^C to abort
...
/opt/firebird/security3.fdb
/opt/firebird/intl/
/opt/firebird/intl/fbintl.conf
/opt/firebird/intl/fbintl
/opt/firebird/WhatsNew
/opt/firebird/firebird.log
Done.
Deleting...
Done.
Extracting install data
Updated /etc/services
Please enter new password for SYSDBA user: masterkey
unable to open database
Could not find acceptable ICU library
=============================================

Firebird.log:
=============================================
$ cat /opt/firebird.log

mvacek Wed Feb 28 16:24:34 2018
  /opt/firebird/bin/fbguard: guardian starting /opt/firebird/bin/firebird

mvacek Wed Feb 28 16:24:34 2018
  Database: /opt/firebird/security3.fdb
  Could not find acceptable ICU library

mvacek Wed Feb 28 16:24:34 2018
  ConfigStorage: mutex mutexLock error, status = 22

mvacek Wed Feb 28 16:24:34 2018
  /opt/firebird/bin/fbguard: /opt/firebird/bin/firebird terminated abnormally 
(-1)
=============================================

/var/log/messages:
=============================================
$ cat /var/log/messages:

2018-02-28T16:24:34.287293+01:00 mvacek systemd-coredump[11441]: Process 11438 
(firebird) of user 84 dumped core.
2018-02-28T16:24:34.646380+01:00 mvacek firebird: Security database error
2018-02-28T16:24:34.647002+01:00 mvacek firebird: ConfigStorage: mutex 
mutexLock error, status = 22
=============================================


Workaround:
- Build libicu 52.1 from sources and install it as system wide default.
- Re-run Firebird installation. It now completes without "Could not find 
acceptable ICU library" error.


Expected behavior:
- Firebird correctly detects pre-installed ICU library version shipped with 
SLES 12 SP3.
- Manual build of libicu 52.1 is not needed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
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