You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "B (Jira)" <ji...@apache.org> on 2020/11/23 19:04:00 UTC

[jira] [Commented] (AVRO-2989) libsnappy has no pkg-config file

    [ https://issues.apache.org/jira/browse/AVRO-2989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17237619#comment-17237619 ] 

B commented on AVRO-2989:
-------------------------

https://github.com/apache/avro/pull/1020

> libsnappy has no pkg-config file
> --------------------------------
>
>                 Key: AVRO-2989
>                 URL: https://issues.apache.org/jira/browse/AVRO-2989
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: c
>            Reporter: B
>            Priority: Minor
>
> Google explicitly is not supporting pkg-config: [https://github.com/google/snappy/pull/86]
> But CMakeLists.txt does this:
> {code:java}
> set(SNAPPY_PKG libsnappy)
> {code}
> And later SNAPPY_PKG is what ends up in the pkg-config `Requires` section.
> The end result is that `pkg-config --exists` will always fail, since the Require'd package is (almost never) around, unless package managers or users went and manually added one.
> Note that this (softly) requires https://issues.apache.org/jira/browse/AVRO-2987 to be fixed first – without that fix, the whole Requires: section isn't really working in the first place.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)