You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (JIRA)" <ji...@apache.org> on 2019/07/24 11:24:00 UTC

[jira] [Resolved] (ARROW-6016) [Python] pyarrow get_library_dirs assertion error

     [ https://issues.apache.org/jira/browse/ARROW-6016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Pitrou resolved ARROW-6016.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.0.0

Issue resolved by pull request 4926
[https://github.com/apache/arrow/pull/4926]

> [Python] pyarrow get_library_dirs assertion error
> -------------------------------------------------
>
>                 Key: ARROW-6016
>                 URL: https://issues.apache.org/jira/browse/ARROW-6016
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>    Affects Versions: 0.14.1
>            Reporter: Matthijs Brobbel
>            Assignee: Antoine Pitrou
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.0.0
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> The added code here: [https://github.com/apache/arrow/blob/apache-arrow-0.14.1/python/pyarrow/__init__.py#L257-L265] causes an AssertionError in ubuntu:
> {{... line 265, in get_library_dirs}}
>  {{assert library_dir.startswith("-L")}}
>  {{AssertionError}}
> I've installed libarrow-dev from the bintray repositories.
> Output from pkg-config:
> {{pkg-config --debug --libs-only-L arrow}}
> {{Package arrow has -L /usr/lib/x86_64-linux-gnu in Libs}}
>  {{Removing -L /usr/lib/x86_64-linux-gnu from libs for arrow}}
>  {{  pre-remove: arrow}}
>  {{ post-remove: arrow}}
>  {{ original: arrow}}
>  {{   sorted: arrow}}
>  {{adding LIBS_L string ""}}
>  {{returning flags string ""}}
>  Workaround: set the PKG_CONFIG_ALLOW_SYSTEM_LIBS env var.
> {{PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 pkg-config --debug --libs-only-L arrow}}
> {{Adding 'arrow' to list of known packages}}
>  {{Package arrow has -I/usr/include in Cflags}}
>  {{Removing -I/usr/include from cflags for arrow}}
>  {{Package arrow has -L /usr/lib/x86_64-linux-gnu in Libs}}
>  {{  pre-remove: arrow}}
>  {{ post-remove: arrow}}
>  {{ original: arrow}}
>  {{   sorted: arrow}}
>  {{adding LIBS_L string "-L/usr/lib/x86_64-linux-gnu "}}
>  {{returning flags string "-L/usr/lib/x86_64-linux-gnu"}}
>  {{-L/usr/lib/x86_64-linux-gnu}}
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)