cio-uring

/usr/bin/ld: cannot find -lliburing


When compiled using

gcc liburing-test.c -o liburing-test -lliburing

flowing error is displayed

/usr/bin/ld: cannot find -lliburing
collect2: error: ld returned 1 exit status

Solution

  • You can fix this error by replacing -lliburing with -luring

    gcc liburing-test.c -o liburing-test -luring
    

    Is lib{library name}.a / .so a naming convention for static libraries in Linux?