Skip to content

snappy-1.2.0 provides libsnappy.so.1.1.10 with different function signatures. #35

Closed
@chebee7i

Description

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

Is it expected that snappy-1.2.0 would be based on libsnappy.so.1.1.10? Wondering if it is an error that it is named libsnappy.so.1.10 instead of libsnappy.so.1.2.0.

What seems problematic is that it is not really the same underlying version of libsnappy.so.

When I look at libsnappy.so.1.1.10 from snappy-1.2.0, I see:

$ nm -s libsnappy.so.1.1.10 | c++filt | grep RawCompress
00000000000065d0 T snappy::RawCompress(char const*, unsigned long, char*, unsigned long*, snappy::CompressionOptions)
0000000000006680 T snappy::RawCompressFromIOVec(iovec const*, unsigned long, char*, unsigned long*, snappy::CompressionOptions)

When I look at libsnappy.so.1.1.10 from snappy-1.1.10, I see:

$ nm -s libsnappy.so.1.1.10 | c++filt | grep RawCompress
00000000000049b0 T snappy::RawCompress(char const*, unsigned long, char*, unsigned long*)
0000000000004a50 T snappy::RawCompressFromIOVec(iovec const*, unsigned long, char*, unsigned long*)

Anything expecting the latter will fail a symbol lookup with the newer version.

Installed packages

N/A

Environment info

N/A

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions