google / google/snappy

undefined symbol: typeinfo for snappy::Source

Open
#184 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.