jarulraj/sqlcheck

Unable to install sqlcheck-1.2-1

wymangr opened this issue · 1 comments

I'm having trouble installing sqlcheck on my linux machine with the following error:

yum --nogpgcheck localinstall sqlcheck-x86_64.rpm
Loaded plugins: langpacks
Examining sqlcheck-x86_64.rpm: sqlcheck-1.2-1.x86_64
Marking sqlcheck-x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package sqlcheck.x86_64 0:1.2-1 will be installed
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.8)(64bit) for package: sqlcheck-1.2-1.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.20)(64bit) for package: sqlcheck-1.2-1.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.21)(64bit) for package: sqlcheck-1.2-1.x86_64
--> Finished Dependency Resolution
Error: Package: sqlcheck-1.2-1.x86_64 (/sqlcheck-x86_64)
           Requires: libstdc++.so.6(CXXABI_1.3.8)(64bit)
Error: Package: sqlcheck-1.2-1.x86_64 (/sqlcheck-x86_64)
           Requires: libstdc++.so.6(GLIBCXX_3.4.20)(64bit)
Error: Package: sqlcheck-1.2-1.x86_64 (/sqlcheck-x86_64)
           Requires: libstdc++.so.6(GLIBCXX_3.4.21)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

When I download the source and try executing sqlcheck, I get the same thing:

./sqlcheck
./sqlcheck: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./sqlcheck)
./sqlcheck: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by ./sqlcheck)
./sqlcheck: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./sqlcheck)

I've googled around and can't seem to find anything that shows me how to update to the correct version? Could anyone help me out?

yum list installed | grep libstdc
libstdc++.x86_64                   4.8.5-44.el7               @os
libstdc++-devel.x86_64             4.8.5-44.el7               @base-openlogic

I'm attempting to install it on Centos 7.9.2009

I've run the following command and it does seem like I'm missing the correct version?

strings /lib64/libstdc++.so.6 | grep GLIBCXX
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBCXX_DEBUG_MESSAGE_LENGTH