ccurl
ccurl copied to clipboard
Problem with ccurl-cli installation
When I try to install (following the README) ccurl-cli I get this error:
[ 10%] Linking C executable ccurld /usr/bin/ld: cannot find -lstatic collect2: error: ld returned 1 exit status CMakeFiles/ccurld.dir/build.make:83: recipe for target 'ccurld' failed make[2]: *** [ccurld] Error 1 CMakeFiles/Makefile2:83: recipe for target 'CMakeFiles/ccurld.dir/all' failed make[1]: *** [CMakeFiles/ccurld.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2
I have already built ccurl and added it in the library path in this way:
// set PATH so it includes user's private bin directories PATH="$HOME/bin:$HOME/.local/bin:$PATH" LD_LIBRARY_PATH=/home/dario/ccurl export LD_LIBRARY_PATH=$LD_LIBRARY_PATH
I can't find libstatic (-lstatic) nowhere. Someone can help me?