undefined symbol: typeinfo for snappy::Source
- Dominant language
- C++
- Stars
- 6.6k
- Forks
- 1.1k
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 4
Description
At least 2 depending projects fail with snappy-1.2.1:
The snzip-1.0.5 project fails:
```
c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -fstack-protector-strong -L/usr/local/lib -o snzip snzip.o snzip-format.o framing-format.o framing2-format.o hadoop-snappy-format.o iwa-format.o snappy-java-format.o snappy-in-java-format.o comment-43-format.o crc32.o raw_format.o crc32_sse4_2.o -lsnappy
ld: error: undefined symbol: typeinfo for snappy::Source
>>> referenced by raw_format.cpp
>>> raw_format.o:(typeinfo for snzip::FileSource)
>>> did you mean: vtable for snappy::Source
>>> defined in: /usr/local/lib/libsnappy.so
```
And the proxygen-2024.05.20.00 project fails:
```
ld: error: /usr/local/lib/libfolly.so.0.58.0-dev: undefined reference to typeinfo for snappy::Source [--no-allow-shlib-undefined]
```
Contributor guide
Assessment
This issue has not been assessed yet.