Skip to content

how to install ibstdc++.a #15593

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
watchpoints opened this issue Jul 30, 2022 · 6 comments
Closed

how to install ibstdc++.a #15593

watchpoints opened this issue Jul 30, 2022 · 6 comments
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@watchpoints
Copy link

watchpoints commented Jul 30, 2022

  • rock 8.4

make[2]: *** No rule to make target 'libstdc++.a', needed by 'build/bin/taosdump'.
yum update
yum install epel-release
Package epel-release-8-16.el8.noarch is already installed.

yum install libstdc++-static
Error: Unable to find a match: libstdc++-static

yum info libstdc++ is ok
yum info libstdc++
Last metadata expiration check: 0:10:26 ago on Sat 30 Jul 2022 04:50:14 PM CST.
Installed Packages
Name : libstdc++
Version : 8.5.0
Release : 10.1.el8_6
Architecture : x86_64
Size : 1.8 M
Source : gcc-8.5.0-10.1.el8_6.src.rpm
Repository : @System
From repo : baseos
Summary : GNU Standard C++ Library
URL : http://gcc.gnu.org
License : GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
Description : The libstdc++ package contains a rewritten standard compliant GCC Standard
: C++ Library.

dnf info libstdc++-static
Last metadata expiration check: 0:10:51 ago on Sat 30 Jul 2022 04:50:14 PM CST.
Error: No matching Packages to list

@watchpoints watchpoints added help wanted Extra attention is needed question Further information is requested labels Jul 30, 2022
@sangshuduo
Copy link
Contributor

sudo dnf -y install libstdc++-static

@watchpoints
Copy link
Author

watchpoints commented Jul 30, 2022

sudo dnf -y install libstdc++-static

I try ,but failed
dnf makecache --refresh
dnf -y install libstdc++-static
Error: Unable to find a match: libstdc++-static

cat /etc/redhat-release
Rocky Linux release 8.6 (Green Obsidian)

@sangshuduo
Copy link
Contributor

works to me

[root@rock /]# cat /etc/redhat-release
Rocky Linux release 8.5 (Green Obsidian)
[root@rock /]# dnf info libstdc++-static
Last metadata expiration check: 0:42:40 ago on Sat Jul 30 08:13:28 2022.
Installed Packages
Name : libstdc++-static
Version : 8.5.0
Release : 10.1.el8_6
Architecture : x86_64
Size : 5.1 M
Source : gcc-8.5.0-10.1.el8_6.src.rpm
Repository : @System
From repo : powertools
Summary : Static libraries for the GNU standard C++ library
URL : http://gcc.gnu.org
License : GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
Description : Static libraries for the GNU standard C++ library.

Available Packages
Name : libstdc++-static
Version : 8.5.0
Release : 10.1.el8_6
Architecture : i686
Size : 650 k
Source : gcc-8.5.0-10.1.el8_6.src.rpm
Repository : powertools
Summary : Static libraries for the GNU standard C++ library
URL : http://gcc.gnu.org
License : GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
Description : Static libraries for the GNU standard C++ library.

@watchpoints
Copy link
Author

do you change the yum ?

@sangshuduo
Copy link
Contributor

yum config-manager --set-enabled powertools

@watchpoints
Copy link
Author

watchpoints commented Jul 31, 2022

dnf install epel-release
dnf install 'dnf-command(config-manager)'
dnf config-manager --set-enabled PowerTools

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants