[
https://issues.apache.org/jira/browse/PROTON-808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14319010#comment-14319010
]
Rafael H. Schloming commented on PROTON-808:
--------------------------------------------
Ok, I'm kinda at my wits end on this one. Everything I've read would suggest
that SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) should fix the problem,
however no matter what I try cmake always strips the path out of the installed
binaries. I even tried with the latest version of cmake, and it's the same
story. The only thing I've found that puts in any kind of rpath is to
explicitly set CMAKE_INSTALL_RPATH. This results in objdump showing that an
RPATH is set, but I still get the same loading error.
I'm gonna give up on this for now as I'm getting nowhere with it. If anyone
else wants to try, I'd appreciate the help.
> Binaries have their library locations stripped
> ----------------------------------------------
>
> Key: PROTON-808
> URL: https://issues.apache.org/jira/browse/PROTON-808
> Project: Qpid Proton
> Issue Type: Bug
> Components: proton-c
> Reporter: Justin Ross
>
> 1. Build proton
> 2. Install to /usr/local
> 3. Run "proton"
> -> Blows up, can't find its library
> https://paste.apache.org/gd56
> http://stackoverflow.com/questions/3352041/creating-binary-with-cmake-removes-runtime-path
> The default behavior of cmake is in my opinion wrong, and we should use the
> fix mentioned in that stackoverflow discussion.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)