Hi everyone, I have been using Boost for some time now and really like it. Unfortunately, recently I have bumped into a linker issue when trying to use boost::log, was wondering if anyone has seen this before, or has any insights … thank you very much. The problem is described in the below post. http://stackoverflow.com/questions/18881602/boost-logger-linking-issue -- Sincerely, Tadeusz Jordan Software Engineer at The Broad Institute of MIT and Harvard MS Candidate in CS at Northeastern University This email message and any attachments are confidential and may be privileged. It is intended only for the individual or individuals to whom it is addressed and may not be saved, copied, printed, disclosed or otherwise used by anyone else. If you are not the intended recipient, kindly notify the sender and delete this email and any attachments immediately.
On Thursday 19 September 2013 20:06:10 Tadeusz Jordan wrote:
Hi everyone, I have been using Boost for some time now and really like it. Unfortunately, recently I have bumped into a linker issue when trying to use boost::log, was wondering if anyone has seen this before, or has any insights … thank you very much. The problem is described in the below post.
http://stackoverflow.com/questions/18881602/boost-logger-linking-issue
Perhaps, this is your problem? http://www.boost.org/doc/libs/1_54_0/libs/log/doc/html/log/rationale/namespa...
My INSTALL.RECEIPT is
{"used_options":["--with-icu","--with-c++11","--with-mpi"],"built_as_bottle":false,"time":1376422270,"HEAD":"0fd31a54a63416133b806c07df20e861b797b2f2","tapped_from":"mxcl/master","unused_options":["--without-python","--universal","--without-static","--without-single"],"poured_from_bottle":false}
I used homebrew. Does it mean I need to uninstall boost and install it again?
On Fri, Sep 20, 2013 at 2:25 AM, Andrey Semashev
On Thursday 19 September 2013 20:06:10 Tadeusz Jordan wrote:
Hi everyone, I have been using Boost for some time now and really like it. Unfortunately, recently I have bumped into a linker issue when trying to use boost::log, was wondering if anyone has seen this before, or has any insights … thank you very much. The problem is described in the below post.
http://stackoverflow.com/questions/18881602/boost-logger-linking-issue
Perhaps, this is your problem?
http://www.boost.org/doc/libs/1_54_0/libs/log/doc/html/log/rationale/namespa...
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
-- Sincerely, Tadeusz Jordan Software Engineer at The Broad Institute of MIT and Harvard MS Candidate in CS at Northeastern University This email message and any attachments are confidential and may be privileged. It is intended only for the individual or individuals to whom it is addressed and may not be saved, copied, printed, disclosed or otherwise used by anyone else. If you are not the intended recipient, kindly notify the sender and delete this email and any attachments immediately.
On Thu, Sep 26, 2013 at 5:48 PM, Tadeusz Jordan
On Fri, Sep 20, 2013 at 2:25 AM, Andrey Semashev
wrote: On Thursday 19 September 2013 20:06:10 Tadeusz Jordan wrote:
Hi everyone, I have been using Boost for some time now and really like it. Unfortunately, recently I have bumped into a linker issue when trying to use boost::log, was wondering if anyone has seen this before, or has any insights … thank you very much. The problem is described in the below post.
http://stackoverflow.com/questions/18881602/boost-logger-linking-issue
Perhaps, this is your problem?
http://www.boost.org/doc/libs/1_54_0/libs/log/doc/html/log/rationale/namespa...
My INSTALL.RECEIPT is
{"used_options":["--with-icu","--with-c++11","--with-mpi"],"built_as_bottle":false,"time":1376422270,"HEAD":"0fd31a54a63416133b806c07df20e861b797b2f2","tapped_from":"mxcl/master","unused_options":["--without-python","--universal","--without-static","--without-single"],"poured_from_bottle":false}
I used homebrew. Does it mean I need to uninstall boost and install it again?
I have no idea what you meant by this, sorry.
On Thu, Sep 26, 2013 at 3:59 PM, Andrey Semashev
I have no idea what you meant by this, sorry.
He means he used http://brew.sh/ to install boost.
On Thu, Sep 26, 2013 at 4:27 PM, Klaim - Joël Lamotte
On Thu, Sep 26, 2013 at 3:59 PM, Andrey Semashev < andrey.semashev@gmail.com> wrote:
I have no idea what you meant by this, sorry.
He means he used http://brew.sh/ to install boost.
Which apparently provides Boost 1.49. So yes you'll need to get Boost from the website and built it yourself as Boost.Log begins in Boost 1.54 if I remember correctly.
Why do you think it provides Boost 1.49? Homebrew created a folder
/usr/local/Cellar/boost/1.54.0 so I thought it is 1.54. Did I miss
something?
On Thu, Sep 26, 2013 at 10:30 AM, Klaim - Joël Lamotte
On Thu, Sep 26, 2013 at 4:27 PM, Klaim - Joël Lamotte
wrote: On Thu, Sep 26, 2013 at 3:59 PM, Andrey Semashev < andrey.semashev@gmail.com> wrote:
I have no idea what you meant by this, sorry.
He means he used http://brew.sh/ to install boost.
Which apparently provides Boost 1.49. So yes you'll need to get Boost from the website and built it yourself as Boost.Log begins in Boost 1.54 if I remember correctly.
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
-- Sincerely, Tadeusz Jordan Software Engineer at The Broad Institute of MIT and Harvard MS Candidate in CS at Northeastern University This email message and any attachments are confidential and may be privileged. It is intended only for the individual or individuals to whom it is addressed and may not be saved, copied, printed, disclosed or otherwise used by anyone else. If you are not the intended recipient, kindly notify the sender and delete this email and any attachments immediately.
On Thu, Sep 26, 2013 at 4:37 PM, Tadeusz Jordan
Why do you think it provides Boost 1.49? Homebrew created a folder /usr/local/Cellar/boost/1.54.0 so I thought it is 1.54. Did I miss something?
The link on http://brew.sh/ that says "the stuff you need" redirects to https://github.com/mxcl/homebrew/tree/master/Library/Formula which contain https://github.com/mxcl/homebrew/blob/master/Library/Formula/boost149.rb so I thought it was a fixed boost version but it's actually a patched version. The right file is https://github.com/mxcl/homebrew/blob/master/Library/Formula/boost.rb which indeed will install Boost 1.54. Sorry for the confusion.
Klaim - I see.
Andrey - ah I wasn't sure if that was an option used while building
boost. I then just define this option in my source code where I use
boost?
Thanks for your help!
On Thu, Sep 26, 2013 at 11:04 AM, Klaim - Joël Lamotte
On Thu, Sep 26, 2013 at 4:37 PM, Tadeusz Jordan
wrote: Why do you think it provides Boost 1.49? Homebrew created a folder /usr/local/Cellar/boost/1.54.0 so I thought it is 1.54. Did I miss something?
The link on http://brew.sh/ that says "the stuff you need" redirects to https://github.com/mxcl/homebrew/tree/master/Library/Formula which contain https://github.com/mxcl/homebrew/blob/master/Library/Formula/boost149.rb so I thought it was a fixed boost version but it's actually a patched version. The right file is https://github.com/mxcl/homebrew/blob/master/Library/Formula/boost.rb which indeed will install Boost 1.54.
Sorry for the confusion.
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
-- Sincerely, Tadeusz Jordan Software Engineer at The Broad Institute of MIT and Harvard MS Candidate in CS at Northeastern University This email message and any attachments are confidential and may be privileged. It is intended only for the individual or individuals to whom it is addressed and may not be saved, copied, printed, disclosed or otherwise used by anyone else. If you are not the intended recipient, kindly notify the sender and delete this email and any attachments immediately.
Regarding the original issue. Tadeusz, have you read the link I posted before? My theory is that you have installed (or built - I don't know what exactly Homebrew does) shared libs and have not defined BOOST_LOG_DYN_LINK or BOOST_ALL_DYN_LINK in your application. I have added BOOST_ALL_DYN_LINK and it still failed.
On Thu, Sep 26, 2013 at 6:27 PM, Klaim - Joël Lamotte
On Thu, Sep 26, 2013 at 3:59 PM, Andrey Semashev
wrote: I have no idea what you meant by this, sorry.
He means he used http://brew.sh/ to install boost.
Oh, I've never heard of it before. Regarding the original issue. Tadeusz, have you read the link I posted before? My theory is that you have installed (or built - I don't know what exactly Homebrew does) shared libs and have not defined BOOST_LOG_DYN_LINK or BOOST_ALL_DYN_LINK in your application.
participants (3)
-
Andrey Semashev
-
Klaim - Joël Lamotte
-
Tadeusz Jordan