As one can see, absolute paths are compiled
into the resulting library for the RPATH. (/root/KMT/KMT/src/commandline/.libs)
When performing the "make install"
step all the libraries and binaries get installed to our prefix directory
"/opt/kmt". This currently takes very long (~20 minutes) as libtool
relinks all libraries. The output for module "commonbasics" you
can see below.
How can I avoid this additional relinking
step during "make install"? I guess it's because of the absolutes
paths which get compiled into the libraries RPATH during compilation. Actually,
we always want to run the binary from it's install prefix and not out of
the build tree. How can I force libtool to set the correct rpath for the
resulting libraries already during the compilation step so that relinking
ist not needed anymore during "make install".
We are using libtool-2.2.6b and automake-1.11.1.
Please feel free to ask any further information which you might need to
figure out the problem.
Thanks for any comments on this,
"Disclaimer: This message is intended only for the use of the individual
or entity to
which it is addressed and may contain information which is privileged,
or exempt from disclosure under applicable law. If you are not the intended
recipient or the person
responsible for delivering the message to the intended recipient, you are
strictly prohibited from
disclosing, distributing, copying, or in any way using this message. If
you have received this
communication in error, please notify the sender and destroy and delete
any copies you may have