-
-
Notifications
You must be signed in to change notification settings - Fork 125
Align install_name on OSX with Linux #285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Currently, the install_name on OSX is pinning to x.x.x whereas on Linux (or non-OSX), we link to librhash.so.X (i.e. only major). This brings both in line.
This depends on what kind of ABI-stability |
LibRHash follows the versioning scheme "librhash.so.1" (ABI version = 1) while the full version is "1.4.6". This (major) ABI version is switched on breaking ABI changes, which includes:
Adding new symbols does not break backward compatibility, so it is not a breaking ABI change. However, some systems like OpenBSD enforce stricter rules, requiring any symbol addition to be reflected in the library suffix. Since RHash does not yet adopt semantic versioning, the library must be installed on such systems as "librhash.so.1.4.6". |
Dynamic Library Design Guidelines for macOS says:
According to this document the library name on macOS must be "librhash.1.dylib". |
At the moment, both, I think we are both in agreement. Is there anything I need to clarify more to get this merged? |
1 similar comment
At the moment, both, I think we are both in agreement. Is there anything I need to clarify more to get this merged? |
Currently, the install_name on OSX is pinning to x.x.x whereas on Linux (or non-OSX), we link to librhash.so.X (i.e. only major). This brings both in line.