Hi, I has trying to install Fb4 Release at Centos 7.7 and got this error message: Please install required library 'libncurses.so.6' before firebird, after it repeat firebird install After creating the corresponding symlinks: ln -s libncurses.so.5 /usr/lib64/libncurses.so.6 ln -s libtommath.so.0 /usr/lib64/libtommath.so.1
The error persisted, so I edited the install.sh to reference previous libs: from: export LIBTOMCRYPT=libtomcrypt.so.1 export LIBCURSES=libncurses.so.6 to: export LIBTOMCRYPT=libtomcrypt.so.0 export LIBCURSES=libncurses.so.5 And was able to install and use Fb4 Thanks! PS: looks like the installer handles libtommath with "fixTomMat", but doesn't do it with libncurses PS: here is the debug install error: [root@centos7Fb4 Firebird-4.0.0.2496-0.amd64]# sh -x install.sh -silent + export LIBTOMCRYPT=libtomcrypt.so.1 + LIBTOMCRYPT=libtomcrypt.so.1 + export LIBCURSES=libncurses.so.6 + LIBCURSES=libncurses.so.6 + fb_install_prefix=/opt/firebird + default_prefix=/opt/firebird + fb_startup_name=firebird + startupName + '[' -z /opt/firebird ']' + '[' /opt/firebird = /opt/firebird ']' + fb_startup_name=firebird + Answer= + OrigPasswd= + TmpFile= + MANIFEST_TXT= + Manifest=manifest.txt + SecurityDatabase=security4.fdb + DefaultLibrary=libfbclient + UninstallScript=FirebirdUninstall.sh + XINETD=/etc/xinetd.d/ ++ date +%Y%m%d_%H%M + ArchiveDateTag=20210611_1337 + export ArchiveDateTag + ArchiveMainFile=/opt/firebird_20210611_1337 + export ArchiveMainFile + Add2Path /usr/sbin + Dir=/usr/sbin ++ grep :/usr/sbin: ++ echo :/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin: + x=:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin: + '[' -z :/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin: ']' + Add2Path /sbin + Dir=/sbin ++ grep :/sbin: ++ echo :/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin: + x= + '[' -z '' ']' + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/sbin + export PATH + RunUser=firebird + export RunUser + RunGroup=firebird + export RunGroup + PidDir=/var/run/firebird + export PidDir + psOptions=-efaww + export psOptions + mktOptions=-q + export mktOptions + tarOptions=z + export tarOptions + tarExt=tar.gz + export tarExt + SYSTEMCTL=systemctl + CTRL=firebird.service + SYSTEMD_DIR=/usr/lib/systemd/system + '[' -d /usr/lib/systemd/system ']' + TMPFILE_CONF=/usr/lib/tmpfiles.d/firebird.conf + parseArgs -silent + flSilent=0 + '[' -n -silent ']' + case "$1" in + flSilent=1 + shift + '[' -n '' ']' + '[' 1 -eq 0 ']' + checkInstallUser + checkRootUser ++ whoami + '[' root '!=' root ']' + BuildVersion=4.0.0.2496 + PackageVersion=0 + CpuType=amd64 + Version=4.0.0.2496-0.amd64 + '[' '!' -z '' ']' ++ pwd + MANIFEST_TXT=/root/Firebird-4.0.0.2496-0.amd64/manifest.txt ++ pwd + origDir=/root/Firebird-4.0.0.2496-0.amd64 + runAndCheckExit 'test -e /root/Firebird-4.0.0.2496-0.amd64/manifest.txt' + Cmd='test -e /root/Firebird-4.0.0.2496-0.amd64/manifest.txt' + test -e /root/Firebird-4.0.0.2496-0.amd64/manifest.txt + ExitCode=0 + '[' 0 -ne 0 ']' + checkIfServerRunning + '[' '' '!=' install-embedded ']' + stopSuperServerIfRunning ++ grepProcess 'fbserver|fbguard|fb_smp_server|firebird' ++ processList='fbserver|fbguard|fb_smp_server|firebird' ++ eol='$' ++ grep -v -w '\-path' ++ grep -v grep ++ egrep '\<(fbserver|fbguard|fb_smp_server|firebird)($|[[:space:]])' ++ ps -efaww + checkString= + '[' '!' -z '' ']' ++ grepProcess firebird ++ processList=firebird ++ eol='$' ++ grep -v -w '\-path' ++ grep -v grep ++ egrep '\<(firebird)($|[[:space:]])' ++ ps -efaww + checkString= + '[' '!' -z '' ']' ++ grepProcess fb_smp_server ++ processList=fb_smp_server ++ eol='$' ++ grep -v -w '\-path' ++ grep -v grep ++ egrep '\<(fb_smp_server)($|[[:space:]])' ++ ps -efaww + checkString= + '[' '!' -z '' ']' ++ grepProcess 'fbserver|fbguard' ++ processList='fbserver|fbguard' ++ eol='$' ++ grep -v -w '\-path' ++ grep -v grep ++ egrep '\<(fbserver|fbguard)($|[[:space:]])' ++ ps -efaww + checkString= + '[' '!' -z '' ']' ++ grepProcess 'fb_inet_server|gds_pipe' ++ processList='fb_inet_server|gds_pipe' ++ eol='$' ++ grep -v -w '\-path' ++ grep -v grep ++ egrep '\<(fb_inet_server|gds_pipe)($|[[:space:]])' ++ ps -efaww + checkString= + '[' '!' -z '' ']' ++ grepProcess 'ibserver|ibguard' ++ processList='ibserver|ibguard' ++ eol='$' ++ grep -v -w '\-path' ++ grep -v grep ++ egrep '\<(ibserver|ibguard)($|[[:space:]])' ++ ps -efaww + checkString= + '[' '!' -z '' ']' ++ grepProcess 'gds_inet_server|gds_pipe' ++ processList='gds_inet_server|gds_pipe' ++ eol='$' ++ grep -v -w '\-path' ++ grep -v grep ++ egrep '\<(gds_inet_server|gds_pipe)($|[[:space:]])' ++ ps -efaww + checkString= + '[' '!' -z '' ']' + checkLibraries + '[' N '!=' Y -o /opt/firebird '!=' /opt/firebird ']' + fixTommath= + checkLibrary tommath + libName=tommath + haveLibrary tommath + libName=tommath + '[' -z tommath ']' + fixTommath=fixTomMath + checkLibName tommath + checkLibName libtommath + return 0 + haveLibrary libtommath.so.0 + libName=libtommath.so.0 + '[' -z libtommath.so.0 ']' + fixTommath=fixTomMath + checkLibName libtommath.so.0 + return 0 + fixTomMath ++ awk '{print $4}' ++ checkLibName libtommath.so.1 ++ grepFlag=-v ++ '[' amd64 = amd64 ']' ++ grepFlag= ++ grep x86-64 ++ grep -w libtommath.so.1 ++ ldconfig -p + tm1= + '[' -z '' ']' + return + '[' Y '!=' Y ']' + checkLibrary icudata + libName=icudata + haveLibrary icudata + libName=icudata + '[' -z icudata ']' + fixTommath=fixTomMath + checkLibName icudata + checkLibName libicudata + return 0 + '[' libncurses.so.6 ']' + checkLibrary libncurses.so.6 + libName=libncurses.so.6 + haveLibrary libncurses.so.6 + libName=libncurses.so.6 + '[' -z libncurses.so.6 ']' + fixTommath=fixTomMath + checkLibName libncurses.so.6 + checkLibName liblibncurses.so.6 + return 1 + missingLibrary libncurses.so.6 + libName=libncurses.so.6 + echo 'Please install required library '\''libncurses.so.6'\'' before firebird, after it repeat firebird install' Please install required library 'libncurses.so.6' before firebird, after it repeat firebird install + exit 1
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel