From users-return-6054-apmail-qpid-users-archive=qpid.apache.org@qpid.apache.org Tue Mar 20 20:13:07 2012 Return-Path: X-Original-To: apmail-qpid-users-archive@www.apache.org Delivered-To: apmail-qpid-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A49AF98F2 for ; Tue, 20 Mar 2012 20:13:07 +0000 (UTC) Received: (qmail 768 invoked by uid 500); 20 Mar 2012 20:13:07 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 627 invoked by uid 500); 20 Mar 2012 20:13:06 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 513 invoked by uid 99); 20 Mar 2012 20:13:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Mar 2012 20:13:06 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FROM_12LTRDOM,HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of prvs=1419c4aafb=salman.pervez@citadelgroup.com designates 64.22.161.13 as permitted sender) Received: from [64.22.161.13] (HELO citadelgroup.com) (64.22.161.13) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Mar 2012 20:12:59 +0000 Received: from ([10.33.18.55]) by gw-dgscmail-01.citadelgroup.com with ESMTP with TLS id CHNZYK1.25608609; Tue, 20 Mar 2012 15:14:03 -0500 Received: from CHMSG03.citadelgroup.com ([10.33.2.183]) by NT-CHEXHB01.citadelgroup.com ([10.33.18.55]) with mapi; Tue, 20 Mar 2012 15:12:35 -0500 From: "Pervez, Salman" To: "users@qpid.apache.org" Date: Tue, 20 Mar 2012 15:12:33 -0500 Subject: boost link error Thread-Topic: boost link error Thread-Index: Ac0G1ck+hjcX67SCTSG0TA/Mv2ecJw== Message-ID: <625A418191A02443BE01B07299F26FB14DFA5D68BB@CHMSG03.citadelgroup.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_625A418191A02443BE01B07299F26FB14DFA5D68BBCHMSG03citade_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_625A418191A02443BE01B07299F26FB14DFA5D68BBCHMSG03citade_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I am following up on my previous issue (which was solved with Steve's gener= ous input) with a slightly different one. I am building an application that= uses qpid but the qpid library seems to break things. This may well be a b= oost issue but I was hoping someone here might have input. Here is the erro= r I get. g++ -g -O2 -o .libs/sesame sesame-SysAgent.o sesame-Sysimage.o sesame-Packa= ge.o -L/home/spervez1/db-4.6.21/build_unix/lib -L/home/spervez1/boost_1_49= _0/lib\ /home/spervez1/qpidc-0.14/src/.libs/libqmf.so /home/spervez1/qpidc-0.14/src= /.libs/libqmfengine.so /home/spervez1/qpidc-0.14/src/.libs/libqpidclient.so= /hom\ e/spervez1/qpidc-0.14/src/.libs/libqpidcommon.so -lboost_program_options -l= boost_filesystem -ldl /home/spervez1/qpidc-0.14/src/.libs/libqpidtypes.so -= luuid \ /home/spervez1/dbus-1.4.16/dbus/.libs/libdbus-1.so -lpthread -lrt -Wl,--rp= ath -Wl,/home/spervez1/qpid-tools/lib -Wl,--rpath -Wl,/home/spervez1/dbus-1= .4.16/\ lib /usr/bin/ld: warning: libboost_system.so.1.49.0, needed by /home/spervez1/b= oost_1_49_0/lib/libboost_filesystem.so, not found (try using -rpath or -rpa= th-link) /home/spervez1/qpidc-0.14/src/.libs/libqpidcommon.so: undefined reference t= o `boost::system::system_category()' /home/spervez1/qpidc-0.14/src/.libs/libqpidcommon.so: undefined reference t= o `boost::system::generic_category()' collect2: ld returned 1 exit status I have boost installed in /home/spervez1/boost_1_49_0/ Here are the two commands that led to this error CPPFLAGS=3D"-I/home/spervez1/db-4.6.21/build_unix/include -I/home/spervez1/= boost_1_49_0/include" LDFLAGS=3D"-L/home/spervez1/db-4.6.21/build_unix/lib = -L/home/spervez1/boost_1_49_0/lib" ./configure --with-qpid-checkout=3D/home= /spervez1/qpidc-0.14 --with-db4-devel=3D/home/spervez1/db-4.6.21/build_unix= --with-boost=3D/home/spervez1/boost_1_49_0/ make Adding LDFLAGS to make doesn't do anything. I've researched some online and others have been able to solve this problem= by adding the -lboost_filesystem flag which already exists in the makefile= command so I'm a bit confused what the error could be. I'll appreciate any= input on this. Thanks. Salman ________________________________ CONFIDENTIALITY AND SECURITY NOTICE The contents of this message and any attachments may be confidential and pr= oprietary and also may be covered by the Electronic Communications Privacy = Act. This message is not intended to be used by, and should not be relied u= pon in any way, by any third party. If you are not an intended recipient, p= lease inform the sender of the transmission error and delete this message i= mmediately without reading, disseminating, distributing or copying the cont= ents. Citadel makes no assurances that this e-mail and any attachments are = free of viruses and other harmful code. --_000_625A418191A02443BE01B07299F26FB14DFA5D68BBCHMSG03citade_--