Build fails with -Wl,--no-undefined -Wl,--no-allow-shlib-undefined: error: undefined symbol: typeinfo for snappy::Source
Open
- Dominant language
- C++
- Stars
- 30.5k
- Forks
- 5.9k
- PR merge metrics
- No merged PRs in 30d
Description
```
ld: error: undefined symbol: typeinfo for snappy::Source
>>> referenced by Compression.cpp
>>> CMakeFiles/folly_base.dir/folly/compression/Compression.cpp.o:(typeinfo for folly::io::(anonymous namespace)::IOBufSnappySource)
>>> did you mean: vtable for snappy::Source
>>> defined in: /usr/local/lib/libsnappy.so
```
It fails when snappy is built without rtti info.
Version: 2021.05.17.00
clang-11
OS: FreeBSD 13
Contributor guide
Assessment
This issue has not been assessed yet.