MantisBT - CMake
View Issue Details
0014304CMakeCMakepublic2013-07-23 03:112016-06-10 14:31
Tomas Kislan 
Kitware Robot 
highminoralways
closedmoved 
UNIXAIX6.1
CMake 2.8.11.2 
 
0014304: Installing targets doesn't create links with versions
For some reason, on AIX platform cmake is ignoring target VERSION and SOVERSION properties.
Same CMakeLists.txt file creates correct cmake_install.cmake files on Linux and HP-UX, but on AIX it omits the part where links with versions are created.
Appending file with CMakeLists.txt and both cmake_install.cmake files
Tryed multiple versions of cmake:
2.8.11.2
2.8.10.2
2.8.2
2.6.4
No tags attached.
? cmake_install_bug (6,240) 2013-07-23 03:11
https://public.kitware.com/Bug/file/4822/cmake_install_bug
Issue History
2013-07-23 03:11Tomas KislanNew Issue
2013-07-23 03:11Tomas KislanFile Added: cmake_install_bug
2013-07-24 13:45Brad KingNote Added: 0033593
2013-07-25 02:12Tomas KislanNote Added: 0033597
2013-07-25 08:03Brad KingNote Added: 0033601
2013-07-25 08:03Brad KingStatusnew => backlog
2014-07-10 03:56Tomas KislanNote Added: 0036333
2014-07-10 13:03Brad KingNote Added: 0036343
2016-06-10 14:29Kitware RobotNote Added: 0042322
2016-06-10 14:29Kitware RobotStatusbacklog => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0033593)
Brad King   
2013-07-24 13:45   
The so versioning is activated by having a CMAKE_SHARED_LIBRARY_SONAME_<LANG>_FLAG for the toolchain:

 http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmTarget.cxx;hb=v2.8.11.2#l4102 [^]
 http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmTarget.cxx;hb=v2.8.11.2#l3773 [^]
 http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmMakefile.cxx;hb=v2.8.11.2#l2260 [^]

There is no such flag specified in the Modules/Platform/AIX*.cmake modules.
(0033597)
Tomas Kislan   
2013-07-25 02:12   
Is there any way i can help with this?
I can test it on multiple AIX versions.
Would be nice to have it through standard calls, instead of creating custom install script.
(0033601)
Brad King   
2013-07-25 08:03   
AFAICT there is no direct equivalent to soname on AIX. There is discussion for libtool here:

 http://thread.gmane.org/gmane.comp.gnu.libtool.general/11379 [^]

(0036333)
Tomas Kislan   
2014-07-10 03:56   
Is there any progress with this? Because the reference to libtool is invalid, as at the moment, projects using autotools on AIX can generate links to shared libraries without problems
(0036343)
Brad King   
2014-07-10 13:03   
Re 0014304:0036333: Without a real -soname linker flag, what do you expect the sequence of commands and resulting files to be?
(0042322)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.