You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2025/05/08 21:29:00 UTC

[jira] [Commented] (PROTON-2896) [C++] When qpid is installed in a non default location libqpid-proton-cpp executables don't find libqpid-proton-core or proactor

    [ 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-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org