<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-6" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
O/H Alexander Neundorf &#941;&#947;&#961;&#945;&#968;&#949;:
<blockquote cite="mid:200807092211.21631.a.neundorf-work@gmx.net"
 type="cite">
  <pre wrap="">On Wednesday 09 July 2008, Georgios Petasis wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">O/H Alexander Neundorf ??????:
    </pre>
    <blockquote type="cite">
      <pre wrap="">On Wednesday 09 July 2008, George Petasis wrote:
      </pre>
      <blockquote type="cite">
        <pre wrap="">Hi all,

I am trying to build a shared library under linux, with
INSTALL_RPATH_USE_LINK_PATH ON. When the library is built,
-Wl,-rpath,... is added to the compiler flags. Also, I can see the rpath
of the built with "readelf -d".
But the installed shared library has no rpath, and "readelf -d" does not
show any rpath. Why is rpath information removed during installation?
How can I avoid this?
        </pre>
      </blockquote>
      <pre wrap="">cmake 2.4 or 2.6 ?
They handle this differently. In 2.4 the executable is linked again with
the new RPATH, in 2.6 the new RPATH is patched into the existing
executable. What is thre RPATH of the not-installed executable ?

Alex
      </pre>
    </blockquote>
    <pre wrap="">Dear Alex,

I am using cmake 2.6-patch0. And my target is a shared library, not an
executable.
The RPATH of the non-installed .so file contains 3 directories,
separated with ":".
The installed one has no RPATH section, when examined with readelf. 
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Which dirs are that exactly ?
Are they all outside the build dir ?

Alex
  </pre>
</blockquote>
Two are in the build dir, but one is the perl library, in
/usr/lib/perl5/....<br>
<br>
George<br>
<br>
</body>
</html>