EWZ created AVRO-2777:
-------------------------
Summary: avro-c and snappy
Key: AVRO-2777
URL: https://issues.apache.org/jira/browse/AVRO-2777
Project: Apache Avro
Issue Type: Bug
Components: build, c
Affects Versions: 1.9.2
Environment: Linux Ubuntu 18.04 with latest updates
GCC9.2.1
Reporter: EWZ
I'm trying to build `master` avro-c and link it with `snappy`. The snappy is
identified by cmake and linked into the avro-c library. However once the
`avroappend` executable is built the link fails with
>> libsnappy.a(snappy.cc.o): In function
>> >>`snappy::internal::WorkingMemory::WorkingMemory(unsigned long)':
>>snappy.cc:(.text+0x819): undefined reference to
>>`std::allocator<char>::allocator()'
looks like snappy's C++ creeping into the library. it happens if I link with
locally built snappy (according to snappy docs), if I link with system provided
(by apt) snappy, everything links ok. Please advise.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)