From users-return-6043-apmail-qpid-users-archive=qpid.apache.org@qpid.apache.org Thu Mar 15 11:38:15 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 175DF9D74 for ; Thu, 15 Mar 2012 11:38:15 +0000 (UTC) Received: (qmail 51299 invoked by uid 500); 15 Mar 2012 11:38:14 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 51185 invoked by uid 500); 15 Mar 2012 11:38:11 -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 51154 invoked by uid 99); 15 Mar 2012 11:38:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Mar 2012 11:38:10 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 199.36.142.181 is neither permitted nor denied by domain of shuston@riverace.com) Received: from [199.36.142.181] (HELO smtp.01.com) (199.36.142.181) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Mar 2012 11:38:02 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp-out-2.01.com (Postfix) with ESMTP id DD9A84F587A for ; Thu, 15 Mar 2012 06:37:40 -0500 (CDT) X-Virus-Scanned: amavisd-new at smtp-out-2.01.com Received: from smtp.01.com ([127.0.0.1]) by localhost (smtp-out-2.01.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wtJvULzptm34 for ; Thu, 15 Mar 2012 06:37:40 -0500 (CDT) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp-out-2.01.com (Postfix) with ESMTP id C26224F587C for ; Thu, 15 Mar 2012 06:37:40 -0500 (CDT) Received: from mail-1.01.com (mail.01.com [172.18.30.178]) by smtp-out-2.01.com (Postfix) with ESMTP id A1B904F587A for ; Thu, 15 Mar 2012 06:37:40 -0500 (CDT) From: "Steve Huston" To: References: <625A418191A02443BE01B07299F26FB14D6B13AC15@CHMSG03.citadelgroup.com> <012e01cd0209$4cf68d00$e6e3a700$@riverace.com> <625A418191A02443BE01B07299F26FB14D6B13ACC8@CHMSG03.citadelgroup.com> In-Reply-To: <625A418191A02443BE01B07299F26FB14D6B13ACC8@CHMSG03.citadelgroup.com> Subject: RE: boost error Date: Thu, 15 Mar 2012 06:37:40 -0500 (CDT) Message-ID: <003f01cd02a0$0680ce20$13826a60$@riverace.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 X-Mailer: Zimbra 7.1.3_GA_3374 (ZimbraConnectorForOutlook/7.1.1.6324) Content-Language: en-us Thread-Index: AQKv8EFAxORXCpdkQfs/XUXdk/XKywH38/zHA1hF9DaUet0QcA== X-Originating-IP: [24.62.20.96] X-Virus-Checked: Checked by ClamAV on apache.org Did you see the -L/tp64/boost/1.44.0 option passed to the command that failed? Is libboost_program_options.so (and the other Boost libs) in /tp64/boost/1.44.0? Or in a subdirectory of that? I'm guessing a subdirectory - you would need to specify the complete path to the directory where the libs are located with -L. -Steve > -----Original Message----- > From: Pervez, Salman [mailto:Salman.Pervez@citadelgroup.com] > Sent: Wednesday, March 14, 2012 6:41 PM > To: users@qpid.apache.org > Subject: RE: boost error > > Steve, thanks for the help. Unfortunately this does not seem to work. > > CXXFLAGS=-I/tp64/boost/1.44.0 LDFLAGS=-L/tp64/boost/1.44.0 ./configure - > -prefix=/home/spervez1/qpid-\ Tools > CXXFLAGS=-I/tp64/boost/1.44.0 LDFLAGS=-L/tp64/boost/1.44.0 make install > > Still gives me the same error message. > > /usr/bin/ld: cannot find -lboost_program_options > collect2: ld returned 1 exit status > > I read online that boost now requires explicit declaration of st or mt > semantics so I replaced occurrences of lboost_program_options with > lboost_program_options-mt but that does not work. I also tried giving > configure the argument --with-boost=<...> but it did not recognize that > option. Any other thoughts? > > Salman > > -----Original Message----- > From: Steve Huston [mailto:shuston@riverace.com] > Sent: Wednesday, March 14, 2012 12:39 PM > To: users@qpid.apache.org > Subject: RE: boost error > > Hi Salman, > > You came to the right place. > > Since you passed CPPFLAGS to the build, which helps the compiler find the > headers, you should also try passing LDFLAGS=-L > > -Steve > > > -----Original Message----- > > From: Pervez, Salman [mailto:Salman.Pervez@citadelgroup.com] > > Sent: Tuesday, March 13, 2012 7:13 PM > > To: users@qpid.apache.org > > Subject: boost error > > > > Hi everyone, I am trying to do a source build for qpid 0.14. I am > running into a > > boost dependency error which I am unable to solve. Perhaps I should be > > posting this on a boost users list but I was hoping if someone > encountered > > something similar they might be able to help me out. Here is the > error... > > > > /usr/bin/ld: cannot find -lboost_program_options > > collect2: ld returned 1 exit status > > make[2]: *** [libqpidcommon.la] Error 1 > > > > I also built boost from source so its no surprise that it cannot find > the > > required file in /usr/bin/ld. Perhaps there is a way to tell it where > > to > find > > boost? I passed the location of my boost build to the configure script > through > > a CPPFLAG which helps it find the hpp files but perhaps not this one. > 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 proprietary 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 upon in any way, by any third party. If you are not an intended > > recipient, please inform the sender of the transmission error and > > delete > this > > message immediately without reading, disseminating, distributing or > copying > > the contents. Citadel makes no assurances that this e-mail and any > > attachments are free of viruses and other harmful code. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For additional > commands, e-mail: users-help@qpid.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For additional > commands, e-mail: users-help@qpid.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For additional commands, e-mail: users-help@qpid.apache.org