You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Kevin Quick (JIRA)" <ji...@apache.org> on 2010/11/24 00:49:24 UTC

[jira] Updated: (AMQCPP-334) pkg-config output incorrect

     [ https://issues.apache.org/activemq/browse/AMQCPP-334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Quick updated AMQCPP-334:
-------------------------------

    Attachment: AMQCPP-309.patch

Attached a patch to fix this issue.  With this patch (standard install location this time, not the alternate prefix version):

$ pkg-config --cflags activemq-cpp
-I/usr//include/activemq-cpp-3.2.3  
$ ls /usr/include/activemq-cpp-3.2.3
activemq  cms  decaf
$ pkg-config --libs activemq-cpp
-L/usr//lib -lactivemq-cpp -lpthread -ldl -luuid  
$ ls /usr/lib/libactivemq-cpp*
/usr/lib/libactivemq-cpp.la  /usr/lib/libactivemq-cpp.so.9
/usr/lib/libactivemq-cpp.a         /usr/lib/libactivemq-cpp.so  /usr/lib/libactivemq-cpp.so.9.3.0
$

> pkg-config output incorrect
> ---------------------------
>
>                 Key: AMQCPP-334
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-334
>             Project: ActiveMQ C++ Client
>          Issue Type: Wish
>          Components: CMS Impl
>    Affects Versions: 3.2.1
>            Reporter: Kevin Quick
>            Assignee: Timothy Bish
>            Priority: Minor
>             Fix For: 3.2.3, 3.3.0
>
>         Attachments: AMQCPP-309.patch
>
>
> The activemq-cpp.pc.in file specifies the installed library linking as "-l@ACTIVEMQ_LIBRARY_NAME@-@ACTIVEMQ_API_VERSION@" which results in (for example) -lactivemq-cpp-3.2.1, but the actual library files generated in src/main/.libs are:
> $ ls src/main/.libs/
> libactivemq-cpp.a  libactivemq-cpp.la  libactivemq-cpp.lai  libactivemq-cpp.so  libactivemq-cpp.so.11  libactivemq-cpp.so.11.1.0
> $
> As a result, pkg-config requests a link against a non-existent library.  This should be fixed so that the generated version and the indicated link version match.
> This can be patched post-install, but it's messy.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.