|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #76722 cURL library headers not recognized on Debian 9
Submitted: 2018-08-08 10:02 UTC Modified: -
From: michalk at mimuw dot edu dot pl Assigned:
Status: Open Package: oauth (PECL)
PHP Version: Irrelevant OS: Debian 9
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2018-08-08 10:02 UTC] michalk at mimuw dot edu dot pl
While installing oauth on Debian 9 cURL library headers cannot be found. They are provided by libcurl4-openssl-dev package. On Debian 9 they are located in:


But oauth configuration script doesn't look into /usr/include/x86_64-linux-gnu directory:

AC_MSG_CHECKING(for cURL in default path)
  22         have_curl=no
  23         for i in /usr/local /usr; do
  24           if test -r $i/include/curl/easy.h; then
  25             have_curl=yes
  26             CURL_DIR=$i
  27             AC_MSG_RESULT(found in $i)
  28             break
  29           fi
  30         done;a=blob;f=config.m4;h=e05ed685f61191a6a2a50133888804cdb01c40f3;hb=HEAD

It works on Debian 8, as the headers reside in /usr/include/curl:

I have solved this problem by creating a symbolic link.

This looks similar to:


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Tue Dec 11 23:01:25 2018 UTC