You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Antoine Pitrou (JIRA)" <ji...@apache.org> on 2018/08/20 09:23:00 UTC

[jira] [Commented] (PARQUET-1394) [C++] Linking errors with boost_regex

    [ https://issues.apache.org/jira/browse/PARQUET-1394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16585681#comment-16585681 ] 

Antoine Pitrou commented on PARQUET-1394:
-----------------------------------------

Here are the only versions of boost-regex present on my system:
{code:bash}
$ locate boost_regex
/home/antoine/miniconda3/envs/pyarrow/lib/libboost_regex.a
/home/antoine/miniconda3/envs/pyarrow/lib/libboost_regex.so
/home/antoine/miniconda3/envs/pyarrow/lib/libboost_regex.so.1.67.0
/home/antoine/miniconda3/pkgs/boost-cpp-1.67.0-h3a22d5f_0/lib/libboost_regex.a
/home/antoine/miniconda3/pkgs/boost-cpp-1.67.0-h3a22d5f_0/lib/libboost_regex.so
/home/antoine/miniconda3/pkgs/boost-cpp-1.67.0-h3a22d5f_0/lib/libboost_regex.so.1.67.0
/home/antoine/miniconda3/pkgs/libboost-1.67.0-h46d08c1_4/lib/libboost_regex.a
/home/antoine/miniconda3/pkgs/libboost-1.67.0-h46d08c1_4/lib/libboost_regex.so
/home/antoine/miniconda3/pkgs/libboost-1.67.0-h46d08c1_4/lib/libboost_regex.so.1.67.0
{code}

{code:bash}
$ locate regex_fwd.hpp
/home/antoine/miniconda3/envs/pyarrow/include/boost/regex_fwd.hpp
/home/antoine/miniconda3/envs/pyarrow/include/boost/asio/detail/regex_fwd.hpp
/home/antoine/miniconda3/envs/pyarrow/include/boost/regex/v4/regex_fwd.hpp
/home/antoine/miniconda3/pkgs/boost-cpp-1.67.0-h3a22d5f_0/include/boost/regex_fwd.hpp
/home/antoine/miniconda3/pkgs/boost-cpp-1.67.0-h3a22d5f_0/include/boost/asio/detail/regex_fwd.hpp
/home/antoine/miniconda3/pkgs/boost-cpp-1.67.0-h3a22d5f_0/include/boost/regex/v4/regex_fwd.hpp
/home/antoine/miniconda3/pkgs/libboost-1.67.0-h46d08c1_4/include/boost/regex_fwd.hpp
/home/antoine/miniconda3/pkgs/libboost-1.67.0-h46d08c1_4/include/boost/asio/detail/regex_fwd.hpp
/home/antoine/miniconda3/pkgs/libboost-1.67.0-h46d08c1_4/include/boost/regex/v4/regex_fwd.hpp
{code}


> [C++] Linking errors with boost_regex
> -------------------------------------
>
>                 Key: PARQUET-1394
>                 URL: https://issues.apache.org/jira/browse/PARQUET-1394
>             Project: Parquet
>          Issue Type: Bug
>          Components: parquet-cpp
>            Reporter: Antoine Pitrou
>            Priority: Major
>
> I'm now getting linking errors with boost_regex:
> {code}
> ../../debug/libparquet.a(metadata.cc.o): In function `bool boost::regex_match<__gnu_cxx::__normal_iterator<char const*, std::string>, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::string> > >, char, boost::regex_traits<char, boost::cpp_regex_traits<char> > >(__gnu_cxx::__normal_iterator<char const*, std::string>, __gnu_cxx::__normal_iterator<char const*, std::string>, boost::match_results<__gnu_cxx::__normal_iterator<char const*, std::string>, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::string> > > >&, boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags)':
> /home/antoine/miniconda3/envs/pyarrow/include/boost/regex/v4/regex_match.hpp:50: undefined reference to `boost::re_detail_106700::perl_matcher<__gnu_cxx::__normal_iterator<char const*, std::string>, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::string> > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::match()'
> ../../debug/libparquet.a(metadata.cc.o): In function `perl_matcher':
> /home/antoine/miniconda3/envs/pyarrow/include/boost/regex/v4/perl_matcher.hpp:386: undefined reference to `boost::re_detail_106700::perl_matcher<__gnu_cxx::__normal_iterator<char const*, std::string>, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::string> > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::construct_init(boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags)'
> {code}
> Compiler is clang-6.0. There are no system boost headers. I'm using boost-cpp 1.67.0 from Anaconda, and {{-D_GLIBCXX_USE_CXX11_ABI=0}} is in the compile flags.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)