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: 2021-10-18 10:29 UTC
From: michalk at mimuw dot edu dot pl Assigned: cmb (profile)
Status: Closed Package: oauth (PECL)
PHP Version: Irrelevant OS: Debian 9
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull requests:

Add a Pull Request

History

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:  https://github.com/php/pecl-web_services-oauth/pull/3
Patch:      https://github.com/php/pecl-web_services-oauth/pull/3.patch
 [2021-10-18 10:29 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2021-10-18 10:29 UTC] cmb@php.net
The attached patch has been merged long ago, so I assume this
issue is fixed.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 21:01:30 2024 UTC