You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Kouhei Sutou (Jira)" <ji...@apache.org> on 2021/05/26 06:37:00 UTC

[jira] [Resolved] (ARROW-12865) [C++][Python] Python FlightRPC server cannot find RE2 symbols

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

Kouhei Sutou resolved ARROW-12865.
----------------------------------
    Resolution: Fixed

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

> [C++][Python] Python FlightRPC server cannot find RE2 symbols
> -------------------------------------------------------------
>
>                 Key: ARROW-12865
>                 URL: https://issues.apache.org/jira/browse/ARROW-12865
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++, FlightRPC, Python
>    Affects Versions: 4.0.0
>            Reporter: Yibo Cai
>            Assignee: Yibo Cai
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 5.0.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Python Flight server fails to start if build with vendored RE2 (no system RE2 package).
> It cannot find some RE2 symbols. Link gRPC with RE2 fixes the issue.
> *Error log*
> {code:bash}
> $ PYTHONPATH=$(pwd) python examples/flight/server.py --port 2000
> Traceback (most recent call last):
>   File "examples/flight/server.py", line 26, in <module>
>     import pyarrow.flight
>   File "/home/cyb/arrow/python/pyarrow/flight.py", line 18, in <module>
>     from pyarrow._flight import (  # noqa:F401
> ImportError: /home/cyb/arrow/cpp/release/_install/lib/libarrow_flight.so.500: undefined symbol: _ZN3re23RE2C1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
> {code}
> *symbol demangled*
>  {{re2::RE2::RE2(std::__cxx11::basic_string<charstd::char_traits<char>std::allocator<char> >&)}}



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