|  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: michalk at mimuw dot edu dot pl
New email:
PHP Version: OS:


 [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

Pull requests:

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2019-04-17 13:29 UTC]
The following pull request has been associated:

Patch Name: Bug #76722 cURL library headers not recognized on Debian 9
On GitHub:
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Sep 27 17:03:36 2021 UTC