Thank you for your very quick answer and it works like a charm. But then I confirm there is indeed a *documentation bug*
Please do the following command: $ sed -n 88p /usr/share/doc/libcurl4-gnutls-dev/html/curl-config.html <p class="level0"> $ `curl-config --cc --cflags --libs` -o example example.c It should read instead: $ sed -n 88p /usr/share/doc/libcurl4-gnutls-dev/html/curl-config.html <p class="level0"> $ `curl-config --cc --cflags` -o example example.c `curl-config --libs` I attach the patch for the file: /usr/share/doc/libcurl4-gnutls-dev/html/curl-config.html Should be applied as $ sudo patch -b /usr/share/doc/libcurl4-gnutls-dev/html/curl-config.html patch_curl-config.txt patching file /usr/share/doc/libcurl4-gnutls-dev/html/curl-config.html ** Attachment added: "This patches the wrong documentation in the curl-config.html file" https://bugs.launchpad.net/ubuntu/+source/curl/+bug/1001576/+attachment/3153668/+files/patch_curl-config.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1001576 Title: Error linking with libcurl4-gnutls-dev 7.22.0-3ubuntu4 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/curl/+bug/1001576/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs