From commits-return-15393-apmail-activemq-commits-archive=activemq.apache.org@activemq.apache.org Wed Jan 19 14:45:16 2011 Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 41104 invoked from network); 19 Jan 2011 14:45:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Jan 2011 14:45:16 -0000 Received: (qmail 13827 invoked by uid 500); 19 Jan 2011 14:45:16 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 13756 invoked by uid 500); 19 Jan 2011 14:45:14 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 13749 invoked by uid 99); 19 Jan 2011 14:45:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jan 2011 14:45:13 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jan 2011 14:45:11 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 3FF9E23889D5; Wed, 19 Jan 2011 14:44:49 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1060830 - /activemq/activemq-apollo/trunk/apollo-distro/src/main/release/examples/cpp/readme.md Date: Wed, 19 Jan 2011 14:44:49 -0000 To: commits@activemq.apache.org From: chirino@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110119144449.3FF9E23889D5@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: chirino Date: Wed Jan 19 14:44:48 2011 New Revision: 1060830 URL: http://svn.apache.org/viewvc?rev=1060830&view=rev Log: remind folks they my need to set the LD_LIBRARY_PATH Modified: activemq/activemq-apollo/trunk/apollo-distro/src/main/release/examples/cpp/readme.md Modified: activemq/activemq-apollo/trunk/apollo-distro/src/main/release/examples/cpp/readme.md URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-distro/src/main/release/examples/cpp/readme.md?rev=1060830&r1=1060829&r2=1060830&view=diff ============================================================================== --- activemq/activemq-apollo/trunk/apollo-distro/src/main/release/examples/cpp/readme.md (original) +++ activemq/activemq-apollo/trunk/apollo-distro/src/main/release/examples/cpp/readme.md Wed Jan 19 14:44:48 2011 @@ -6,8 +6,8 @@ Prereqs Building ======== -This will vary depending on where you installed your libaries and the compiler -you are using but on my Ubutu system, I compiled the examples as follows: +This will vary depending on where you installed your libraries and the compiler +you are using but on my Ubuntu system, I compiled the examples as follows: gcc Listener.cpp -o listener -I/usr/local/include/activemq-cpp-3.2.4 -I/usr/include/apr-1.0 -lactivemq-cpp -lstdc++ gcc Publisher.cpp -o publisher -I/usr/local/include/activemq-cpp-3.2.4 -I/usr/include/apr-1.0 -lactivemq-cpp -lstdc++ @@ -15,6 +15,12 @@ you are using but on my Ubutu system, I Running the Examples ==================== +Note: You may need to update set an environment variable so that the +activemq-cpp shared libraries can be loaded. For example on my Ubuntu +system I had to add the following to my profile: + + export LD_LIBRARY_PATH=/usr/local/lib + In one terminal window run: ./listener