[ 
https://issues.apache.org/jira/browse/PROTON-2896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17950373#comment-17950373
 ] 

ASF subversion and git services commented on PROTON-2896:
---------------------------------------------------------

Commit e6d9ceb329629334e90298e00ef1195c8b432a26 in qpid-proton's branch 
refs/heads/main from Andrew Stitcher
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=e6d9ceb32 ]

PROTON-2896: [C++] Give the -cpp dynamic library $ORIGIN as its RPATH

This allows any executables using it to find the -core and -proactor
shared libraries installed in the same directory where it itself is
installed.


> [C++] When qpid is installed in a non default location libqpid-proton-cpp 
> executables don't find libqpid-proton-core or proactor
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: PROTON-2896
>                 URL: https://issues.apache.org/jira/browse/PROTON-2896
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: cpp-binding
>    Affects Versions: proton-c-0.40.0
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>            Priority: Minor
>             Fix For: proton-c-0.41.0
>
>
> This is because -cpp depends on -core and -proactor but doesn't have any 
> RUNPATH set to find them. The dynamic linker does not look in the same 
> directory unless it is actually specified somehow. The best way to do this is 
> to specify $ORIGIN as the install rpath.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to