git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Building against arrow static library


Hi Folks,

I am a newbie to cpp build/packaging. I need some help on building against
the arrow static library.

I tried the following

1. Using both arrow and boost from conda (latest versions 0.9 and 1.67).
2. Building arrow from source and boost from conda.
3. Built both from source.

But i am getting this error - with all combinations

1. 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()'

2. boost/regex/v4/basic_regex.hpp:381: undefined reference to
`boost::basic_regex<char, boost::regex_traits<char,
boost::cpp_regex_traits<char> > >::do_assign(char const*, char const*,
unsigned int)'

3. 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)'

I am including the boost headers from same path that arrow was built with.
Surprisingly it works in travis(ubuntu trusty) and in mac but fails on a
stand alone Ubuntu machine.

Googling around some of the root causes seem to be building and linking
with different versions of boost/compiler differences. Both do not apply
here.

Has anyone faced this before?

Thx.


( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-arrow-development/msg04765.html on line 113
Call Stack
#TimeMemoryFunctionLocation
10.0008358384{main}( ).../msg04765.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-arrow-development/msg04765.html on line 113
Call Stack
#TimeMemoryFunctionLocation
10.0008358384{main}( ).../msg04765.html:0