[opensuse-packaging] Shared Library Packaging; SONAME is missed
Hi, I need a piece of advice on packaging shared library. I follow https://en.opensuse.org/openSUSE:Shared_library_packaging_policy and I want to package the following library: https://github.com/beagleboard/am335x_pru_package that has neither SONAME nor version (so, package version will be 0.0.0+gitXXXXX). And according to the section "When there is no versioning" of the guideline I would have to have libprussdrv-0.0.0_gitXXXXX.so that is quite ugly and will break majority of scripts and makefiles which have -lprussdrv -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Friday 2015-04-17 12:02, Matwey V. Kornilov wrote:
that has neither SONAME nor version (so, package version will be 0.0.0+gitXXXXX).
0~gitNN I recommend. It is shorter and also handles the case someone comes up with a 0.0.0.0.0.1 release :)
And according to the section "When there is no versioning" of the guideline I would have to have libprussdrv-0.0.0_gitXXXXX.so that is quite ugly and will break majority of scripts and makefiles which have -lprussdrv
It won't break for obvious reasons. The -l argument looks for libprussdrv.so, which *will* exist and be a symlink. It is only that the actual library file is called libprussdrv-0~gitXX.so, but you don't need to care about its exact name anyhow, as that is taken care of by the linker and runtime equipment (ld.so and zypper). -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
17.04.2015 13:51, Jan Engelhardt пишет:
On Friday 2015-04-17 12:02, Matwey V. Kornilov wrote:
that has neither SONAME nor version (so, package version will be 0.0.0+gitXXXXX).
0~gitNN I recommend. It is shorter and also handles the case someone comes up with a 0.0.0.0.0.1 release :)
And according to the section "When there is no versioning" of the guideline I would have to have libprussdrv-0.0.0_gitXXXXX.so that is quite ugly and will break majority of scripts and makefiles which have -lprussdrv
It won't break for obvious reasons.
The -l argument looks for libprussdrv.so, which *will* exist and be a symlink.
Right, it comes from -devel package. Thank you.
It is only that the actual library file is called libprussdrv-0~gitXX.so, but you don't need to care about its exact name anyhow, as that is taken care of by the linker and runtime equipment (ld.so and zypper).
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (2)
-
Jan Engelhardt
-
Matwey V. Kornilov