[CMake] Re: cmake does not set execute bit on shared libraries

Rex Dieter rdieter at math.unl.edu
Mon Apr 9 10:51:09 EDT 2007


Alan W. Irwin wrote:

> On 2007-04-06 10:07-0600 Orion Poplawski wrote:
> 
>> Cmake does not set execute bit on shared libraries.  This causes problems
>> with packaging cmake built projects for Fedora, because the rpm packaging
>> expects shared libraries to properly have their execute bits set.  See
>> for reference: http://fedoraproject.org/wiki/PackagingDrafts/cmake
>>
>> I've filed a bug:
>> http://www.cmake.org/Bug/bug.php?op=show&bugid=4805

> Just to give some additional background on this, setting the execute bit
> on shared libraries is contrary to Debian policy:

And it's contrary to default binutils behavior and Fedora policy.  

Since, at the moment, it is likely we won't find a consensus on this, could
execute-ness of shlibs possibly be made configurable via some runtime
option/mechanism?  That would, in the short term, make everyone happy.

-- Rex



More information about the CMake mailing list