curl / Mailing Lists / curl-users / Single Mail

curl-users

Should libcurl.pc include bindir for curl-config?

From: Jeffrey Walton <noloader_at_gmail.com>
Date: Sat, 9 Mar 2019 06:42:37 -0500

Hi Everyone,

I've got cURL installed in a non-standard location. I'm building Git
but Git is having trouble finding cURL even though PKG_CONFIG_PATH is
set properly:

    # Git build
    $ make V=1
    ...
    make: curl-config: Command not found

I noticed libcurl.pc is missing bindir (see below). Would a missing
bindir cause curl-config to go missing? Should libcurl.pc include
bindir for curl-config?

Thanks in advance.

==========

$ cat /var/sanitize/lib64/pkgconfig/libcurl.pc
#***************************************************************************
# _ _ ____ _
# Project ___| | | | _ \| |
# / __| | | | |_) | |
# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
# Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel_at_haxx.se>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
# are also available at https://curl.haxx.se/docs/copyright.html.
#
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
# copies of the Software, and permit persons to whom the Software is
# furnished to do so, under the terms of the COPYING file.
#
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
# KIND, either express or implied.
#
###########################################################################

# This should most probably benefit from getting a "Requires:" field added
# dynamically by configure.
#
prefix=/var/sanitize
exec_prefix=${prefix}
libdir=/var/sanitize/lib64
includedir=${prefix}/include
supported_protocols="DICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS
LDAP LDAPS POP3 POP3S RTSP SMB SMBS SMTP SMTPS TELNET TFTP"
supported_features="SSL IPv6 UnixSockets libz AsynchDNS IDN NTLM
NTLM_WB TLS-SRP HTTPS-proxy"

Name: libcurl
URL: https://curl.haxx.se/
Description: Library to transfer files with ftp, http, etc.
Version: 7.64.0
Libs: -L${libdir} -lcurl
Libs.private: -lidn2 -lssl -lcrypto -lldap -llber -lz -lidn2 -lssl
-lcrypto -lz -ldl -lpthread
Cflags: -I${includedir}
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-03-09