SHARE
TWEET

Untitled

a guest Mar 21st, 2017 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [14:47-0]:/home/xxx/seastar→master* > g++ -print-search-dirs
  2. [....]
  3. libraries: =/usr/lib/gcc/x86_64-linux-gnu/6/:[....]
  4. [14:47-0] :/home/xxx/seastar→master* > locate libgcc_s
  5. /lib/i386-linux-gnu/libgcc_s.so.1
  6. /lib/x86_64-linux-gnu/libgcc_s.so.1
  7. /usr/lib/gcc/x86_64-linux-gnu/4.8/libgcc_s.so
  8. /usr/lib/gcc/x86_64-linux-gnu/5/libgcc_s.so
  9. /usr/lib/gcc/x86_64-linux-gnu/6/libgcc_s.so
  10. /usr/lib/gcc/x86_64-linux-gnu/6/libgcc_s.so.1
  11. /usr/lib32/libgcc_s.so.1
  12. [14:47-0] :/home/xxx/seastar→master* > g++  -O0 -g -Wl,--no-as-needed -fvisibility=hidden -pthread -laio -lboost_program_options -lboost_system -lboost_filesystem  -lm -lboost_thread -lcryptopp -lrt -lgnutls -lgnutlsxx -llz4 -lprotobuf -ldl -lgcc_s -lunwind -lxenstore -static-libgcc -static-libstdc++ -Wl,--whole-archive -Wl,--no-whole-archive -lrt -lm -ldl -lhwloc -lnuma -lpciaccess -lxml2 -lz -lcares-seastar
  13. [works fine!]
  14.  
  15. [14:47-0] :/home/xxx/seastar→master* > g++  -O0 -g -Wl,--no-as-needed -fvisibility=hidden -pthread -laio -lboost_program_options -lboost_system -lboost_filesystem  -lm -lboost_thread -lcryptopp -lrt -lgnutls -lgnutlsxx -llz4 -lprotobuf -ldl -lgcc_s -lunwind -lxenstore -static-libgcc -static-libstdc++ -Wl,--whole-archive -Wl,--no-whole-archive -lrt -lm -ldl -lhwloc -lnuma -lpciaccess -lxml2 -lz -lcares-seastar -static
  16. /usr/bin/ld: cannot find -lgcc_s
  17. [...]
  18. collect2: error: ld returned 1 exit status
RAW Paste Data
Pastebin PRO Summer Special!
Get 60% OFF on Pastebin PRO accounts!
Top