-
Notifications
You must be signed in to change notification settings - Fork 565
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
Autotools configure different SONAME than the CMake build #479
Comments
There is no intended SO name. Autotools build uses what it offers and CMake build uses what CMake offers. I did not try to completely emulate what Autotools does with its semantic versioning within CMake. The Autotools build system also has configure script options to remove the SO version. |
See wilx@aa1a04c. This could help. It propagates the main part of the SO version into CMake. |
Thanks for your answer, @wilx. Please allow me one note on "There is no intended SO name": Yes, Libtool is doing a great job on that one, unfortunately CMake seems to lack a bit here (generally remak, not only your project), so probably it would be best to manage SO Name in autotools and then simulating that in CMake. (I'll need to come up with something anyway for the 2.05 Debian package; I'll see if I can provide something you could integrate) If you make decision not to care about SONAMES: Again thanks for the feeback and sorry to nag you again on the topic, but improper SONAME handling might indeed cause problems at your users… Tobi |
Deal better with SO version in CMake builds. Fixes #479.
With the changes I merged in, I get SO name like |
Hi,
I'm currently packaging the version 2.0.5 for Debian (https://tracker.debian.org/log4cplus) and I'm currently planning to use Cmake to create the build (to have the CMake module as well)
During that, I saw that the SONAME is different depending whether autotools or Cmake is used for build:
When using autotools:
Filenames are:
SONAME with Autotools:
When using CMake:
Filenames are:
SONAME with CMake:
My question is: What is the intended SO Name and file names?
Thanks for you help!
The text was updated successfully, but these errors were encountered: