<div dir="ltr">Look for CMAKE_INSTALL_SO_NO_EXE in your cache / CMakeLists.<br>Also, look for its definition in cmake/Modules/Platform/Linux.cmake.<br><br><br><div class="gmail_quote">On Thu, Sep 25, 2008 at 5:54 PM, Jan Dinger <span dir="ltr">&lt;<a href="mailto:dinger.jan@googlemail.com">dinger.jan@googlemail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Hallo folks,<br><br>I&#39;ve build my library with cmake, and I&#39;ll install (make install) my library, it works fine, but I&#39;ve a permission problem, the builded library has the following permissions:<br>

<br>### snip ###<br>lrwxrwxrwx 1 jan jan&nbsp;&nbsp; 21 2008-09-25 15:48 libcorealgorithm.so -&gt; libcorealgorithm.so.0<br>lrwxrwxrwx 1 jan jan&nbsp;&nbsp; 25 2008-09-25 15:48 libcorealgorithm.so.0 -&gt; libcorealgorithm.so.0.0.1<br>-rwxr-xr-x 1 jan jan 7178 2008-09-25 15:48 libcorealgorithm.so.0.0.1<br>

### snap ###<br><br>Thats right.<br><br><br>My installed library has invalid permissions:<br><br>### snip ###<br>lrwxrwxrwx 1 root staff&nbsp;&nbsp; 21 2008-09-25 15:48 libcorealgorithm.so -&gt; libcorealgorithm.so.0<br>lrwxrwxrwx 1 root staff&nbsp;&nbsp; 25 2008-09-25 15:48 libcorealgorithm.so.0 -&gt; libcorealgorithm.so.0.0.1<br>

-rw-r--r-- 1 root staff 7178 2008-09-25 15:48 libcorealgorithm.so.0.0.1<br>### snap ###<br><br>There is no file with executable permission.<br><br><br>Here is a part of my cmake file:<br><br>### snip ###<br>SET (LIBRARYNAME corealgorithm)<br>

<br>SET (LIB_MAJOR 0)<br>SET (LIB_MINOR 0)<br>SET (LIB_RELEASE 1)<br><br>add_library (${LIBRARYNAME} SHARED ${HDRS} ${SRC})<br><br>SET (_soversion ${LIB_MAJOR}.${LIB_MINOR}.${LIB_RELEASE})<br><br>set_target_properties(${LIBRARYNAME} PROPERTIES SOVERSION ${LIB_MAJOR} VERSION ${_soversion})<br>

<br>target_link_libraries(${LIBRARYNAME})<br><br>SET (LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib)<br><br>INSTALL(FILES ${HDRS} DESTINATION /usr/local/include/ns/corealgorithm)<br>INSTALL(TARGETS ${LIBRARYNAME} LIBRARY DESTINATION /usr/local/lib/ns/corealgorithm)<br>

### snap ###<br><br>Have someone an idea?<br><br>so long<br><br>jd<br><br></div>
<br>_______________________________________________<br>
CMake mailing list<br>
<a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br></div>