activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMQCPP-370) pkg-config does not properly indicate static dependencies
Date Mon, 07 Nov 2011 22:16:51 GMT

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

Timothy Bish updated AMQCPP-370:
--------------------------------

    Fix Version/s: 3.4.1
    
> pkg-config does not properly indicate static dependencies
> ---------------------------------------------------------
>
>                 Key: AMQCPP-370
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-370
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 3.2.5
>         Environment: Linux
>            Reporter: Kevin Quick
>            Assignee: Timothy Bish
>            Priority: Minor
>             Fix For: 3.4.1, 3.5.0
>
>
> The output from pkg-config does not properly indicate the full dependency requirements
for static linking.  For example, if configured --with-openssl=... then the pkg-config --static
output should reflect this.
> Here's an example from libcurl demonstrating this:
> curl-7.21.6 $ ./configure
> curl-7.21.6 $ cp libcurl.pc libcurl-plain.pc
> curl-7.21.6 $ ./configure --with-ssl
> curl-7.21.6 $ diff libcurl-plain.pc libcurl.pc
> 38c38
> < Libs.private: -lrt 
> ---
> > Libs.private: -lssl -lcrypto -lrt -lssl -lcrypto -ldl 
> curl-7.21.6 $ pkg-config --libs libcurl
> -lcurl
> curl-7.21.6 $ pkg-config --libs --static libcurl
> -lcurl -lssh2 -lssl -lcrypto -lrt -lz
> curl-7.21.6 $ 
> This can be (crudely) fixed by adding the following to activemq-cpp.pc.in:
> Libs.private = @AMQ_LIBS@
> [A cleaner solution would require updates of configure.ac for a more precise specification.]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message