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

Antoine Pitrou commented on ARROW-16520:
----------------------------------------

If I force-load the protobuf 3.20.1 I compiled without 
{{-fvisibility-inlines-hidden}}, it works:
{code}
LD_PRELOAD=/home/antoine/protobuf/src/.libs/libprotobuf.so 
./build-test/debug/arrow-flight-test
Running main() from 
/home/antoine/arrow/dev/cpp/build-test/googletest_ep-prefix/src/googletest_ep/googletest/src/gtest_main.cc
[==========] Running 84 tests from 18 test suites.
[----------] Global test environment set-up.
[----------] 5 tests from GrpcConnectivityTest

[....]


[----------] Global test environment tear-down
[==========] 84 tests from 18 test suites ran. (1012 ms total)
[  PASSED  ] 81 tests.
[  SKIPPED ] 3 tests, listed below:
[  SKIPPED ] GrpcCudaDataTest.TestDoGet
[  SKIPPED ] GrpcCudaDataTest.TestDoPut
[  SKIPPED ] GrpcCudaDataTest.TestDoExchange
{code}



> [C++][Flight] Symbol lookup error in tests with conda-forge g++
> ---------------------------------------------------------------
>
>                 Key: ARROW-16520
>                 URL: https://issues.apache.org/jira/browse/ARROW-16520
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++, FlightRPC
>            Reporter: Antoine Pitrou
>            Priority: Major
>
> When building Arrow with conda-forge {{g\+\+}}, I get the following errors in 
> the Flight tests. This did not seem to happen with {{clang\+\+}}.
> {code}
> 29/69 Test #51: arrow-flight-internals-test ..............***Failed    0.18 
> sec
> Running arrow-flight-internals-test, redirecting output into 
> /home/antoine/arrow/dev/cpp/build-test/build/test-logs/arrow-flight-internals-test.txt
>  (attempt 1/1)
> /home/antoine/arrow/dev/cpp/build-test/debug/arrow-flight-internals-test: 
> symbol lookup error: 
> /home/antoine/miniconda3/envs/pyarrow/lib/libarrow_flight.so.900: undefined 
> symbol: google::protobuf::internal::InternalMetadata::~InternalMetadata()
> ~/arrow/dev/cpp/build-test/src/arrow/flight
>       Start 55: arrow-ipc-json-simple-test
> 30/69 Test #52: arrow-flight-test ........................***Failed    0.16 
> sec
> Running arrow-flight-test, redirecting output into 
> /home/antoine/arrow/dev/cpp/build-test/build/test-logs/arrow-flight-test.txt 
> (attempt 1/1)
> /home/antoine/arrow/dev/cpp/build-test/debug/arrow-flight-test: symbol lookup 
> error: /home/antoine/miniconda3/envs/pyarrow/lib/libarrow_flight.so.900: 
> undefined symbol: 
> google::protobuf::internal::InternalMetadata::~InternalMetadata()
> ~/arrow/dev/cpp/build-test/src/arrow/flight
>       Start 56: arrow-ipc-read-write-test
> 31/69 Test #53: arrow-flight-sql-test ....................***Failed    0.17 
> sec
> Running arrow-flight-sql-test, redirecting output into 
> /home/antoine/arrow/dev/cpp/build-test/build/test-logs/arrow-flight-sql-test.txt
>  (attempt 1/1)
> /home/antoine/arrow/dev/cpp/build-test/debug/arrow-flight-sql-test: symbol 
> lookup error: 
> /home/antoine/miniconda3/envs/pyarrow/lib/libarrow_flight.so.900: undefined 
> symbol: google::protobuf::internal::InternalMetadata::~InternalMetadata()
> ~/arrow/dev/cpp/build-test/src/arrow/flight/sql
> {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to