Cannot install on Debian Stretch/Testing because version of LibTomMath library [CORE5445] #5716
Submitted by: Gabor Boros (gaborboros)
If try to install the actual snapshot got the next message:
"Please install required library 'libtommath' before firebird, after it repeat firebird install"
After installed libtommath1 package and try again got this:
"/opt/firebird/bin/gsec: error while loading shared libraries: libtommath.so.0: cannot open shared object file: No such file or directory
The /usr/lib/x86_64-linux-gnu directory contain a libtommath.so.1.0.0
The text was updated successfully, but these errors were encountered:
Commented by: jeff stern (jas)
I can confirm Gabor's January report.
On Debian Stretch with the Firebird-220.127.116.11703-0.amd64 tarball:
I start out with libtommath1 package missing (as is typical for Debian Stretch base install).
So, running the firebird install yields the same error Gabor reports:
Firebird 18.104.22.168703-0.amd64 Installation
Press Enter to start installation or ^C to abort
Commented by: @AlexPeshkoff
To be precise that's not FB problem - soname of that library was changed without any visible changes in API. Our primary goal always was to keep backward compatibility with OSes that existed when firebird was released in order to avoid problems when people perform point-release upgrade with existing OS. We will follow tommath rules and build FB4 with .1 soname, but for FB3 I prefer to keep backward compatibility.
Commented by: Myles Wakeham (mylesw)
Is there any combination that will work here for Ubuntu 16.04 64 bit? I have libtommath.so.0 installed from the standard Ubuntu repositories, but it appears to have installed in /usr/lib I can symlink to it from /usr/lib64 for this, but FB4 seems to only want to look for the .1 release. These older distros that are still supported still have the .0 versions active.
ldconfig -p | grep libtommath
Interestingly, after attempting to install FB3 with this, it worked perfectly. But FB4 fails consistently.