You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Antonio L (Jira)" <ji...@apache.org> on 2021/07/20 01:41:00 UTC

[jira] [Created] (AMQCPP-684) Allow supplying of PKG_CONFIG_PATH

Antonio L created AMQCPP-684:
--------------------------------

             Summary: Allow supplying of PKG_CONFIG_PATH
                 Key: AMQCPP-684
                 URL: https://issues.apache.org/jira/browse/AMQCPP-684
             Project: ActiveMQ C++ Client
          Issue Type: Bug
            Reporter: Antonio L
            Assignee: Timothy A. Bish


I am having a hard time coercing ActiveMQ to reuse the OpenSSL installation from .pc files.

PKG_CONFIG executable is in a different path, for this reason I am passing it as an ENV VAR to the configure script. However I find that on my local installation that complains about PKG_CONFIG_PATH not being set so I was wondering if there was any way to pass that to ActiveMQ-cpp configure script?

I look at the build32/Makefile and I see that all the OpenSSL related variables are empty, despite that the configure script reports OpenSSL as being "found".

I also tried passing manually the LIBS environment var (-lssl -lcrypto) but despite that when I try building against that I get lot of missing SLL related symbols despite being able to create the ActiveMQ-CPP static library. But that is a separate problem.
I find this is solved by patching manually the generated .pc file:
*Libs: -L${libdir} -lactivemq-cpp -lpthread -ldl -luuid -lssl -lcrypto*

Also another problem: at my company we tend to have 2 binaries for apr-1-config with the bitness suffix: apr-1-config-32 apr-1-config-64. ActiveMQ has a hard time parsing the --with-apr flag as it creates the corresponding .pc file with theĀ 

Can you advise on those ./configure glitches I found?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)