|  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
4 - 3 = ?
Subscribe to this entry?

 [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-2019 The PHP Group
All rights reserved.
Last updated: Mon Sep 16 20:01:28 2019 UTC