gcc7.3.0 link with -lstdc++fs but can not find

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello, friends, i compile cpp file using gcc7.3.0 with -lstdc++fs flags but the gcc complained, like below, i request for you help:


bash-5.0# c++  -o oomd oomd.p/src_oomd_Main.cpp.o -Wl,--as-needed -Wl,--no-undefined -Wl,--whole-archive -Wl,--start-group liboomd.a -Wl,--no-whole-archive -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/kylin/kylin-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/kylin/kylin-hardened-ld -lstdc++fs /usr/lib64/libjsoncpp.so -pthread /usr/lib64/libsystemd.so -Wl,--end-group
/usr/bin/ld: cannot find -lstdc++fs
collect2: error: ld returned 1 exit status
bash-5.0# c++ --version
c++ (GCC) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


bash-5.0# uname -a
Linux bogon 4.19.90-24.4.v2101.ky10.aarch64 #1 SMP Mon May 24 14:45:37 CST 2021 aarch64 aarch64 aarch64 GNU/Linux
and i confirm that this env has already installed the below rpm packages by yum tool:
gcc-c++.aarch64
libstdc++.aarch64
libstdc++-devel.aarch64
libstdc++-static.aarch64


and i failed to search for a keyword of 'stdc++fs' in my filesystem by find tool: 
find / -name "*stdc++fs*"
i want to consult you how could i get the libstdc++fs*, thank you for your help!





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux