Skip to content

Conversation

@zalmane
Copy link
Contributor

@zalmane zalmane commented Feb 9, 2023

No description provided.

@zalmane
Copy link
Contributor Author

zalmane commented Feb 9, 2023

This PR adds a -BSymbolic flag to the linker. This is needed to avoid symbol collision in case we are importing hiredis from an embedded interpreter where an existing hiredis is also present. An example of this is RedisGears.
The collision causes a crash. This linker flag ensures that the bindings refer to the hiredis.so within the hiredis-py and avoids conflict with other hiredis libraries installed in other scopes.

@chayim chayim added the bug label Feb 12, 2023
@chayim chayim changed the title revert back to using BSymbolic for Redis Gears Reverting gcc -BSymbolic due to symbol collisions Feb 12, 2023
@chayim chayim merged commit a5574a9 into redis:master Feb 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants