php.net |  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:
Package:
Bug Type:
Summary:
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
Description:
------------
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:

/usr/include/x86_64-linux-gnu/curl

https://packages.debian.org/stretch/amd64/libcurl4-openssl-dev/filelist

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

http://git.php.net/?p=pecl/web_services/oauth.git;a=blob;f=config.m4;h=e05ed685f61191a6a2a50133888804cdb01c40f3;hb=HEAD

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

https://packages.debian.org/jessie/amd64/libcurl4-openssl-dev/filelist

I have solved this problem by creating a symbolic link.

This looks similar to:

https://bugs.php.net/bug.php?id=74125


Patches

Add a Patch

Pull Requests

Add a Pull Request

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