Github user orhankislal commented on the issue:

    https://github.com/apache/incubator-madlib/pull/45
  
    I cannot compile the code for greenplum 4.3 on OS X. It does work for 
Postgres 9.4 on the same system. Here is the error:
    
    
    [ 65%] Linking CXX shared module lib/libmadlib.so
    ld: warning: ignoring file 
/Users/okislal/work/madlib/xtang/buildgp/src/lib/boost/libboost_regex.dylib, 
file was built for x86_64 which is not the architecture being linked (i386): 
/Users/okislal/work/madlib/xtang/buildgp/src/lib/boost/libboost_regex.dylib
    Undefined symbols for architecture i386:
      "boost::basic_regex<char, boost::regex_traits<char, 
boost::cpp_regex_traits<char> > >::do_assign(char const*, char const*, unsigned 
int)", referenced from:
          
madlib::modules::utilities::path_pattern_match::run(madlib::dbconnector::postgres::AnyType&)
 in path.cpp.o
    .
    .
    .
     __gnu_cxx::__normal_iterator<char const*, std::string> 
boost::re_detail_106000::re_is_set_member<__gnu_cxx::__normal_iterator<char 
const*, std::string>, char, boost::regex_traits<char, 
boost::cpp_regex_traits<char> >, unsigned 
int>(__gnu_cxx::__normal_iterator<char const*, std::string>, 
__gnu_cxx::__normal_iterator<char const*, std::string>, 
boost::re_detail_106000::re_set_long<unsigned int> const*, 
boost::re_detail_106000::regex_data<char, boost::regex_traits<char, 
boost::cpp_regex_traits<char> > > const&, bool) in path.cpp.o
    ld: symbol(s) not found for architecture i386
    clang: error: linker command failed with exit code 1 (use -v to see 
invocation)
    make[2]: *** [src/ports/greenplum/4.3ORCA/lib/libmadlib.so] Error 1
    make[1]: *** 
[src/ports/greenplum/4.3ORCA/CMakeFiles/madlib_greenplum_4_3ORCA.dir/all] Error 
2
    make: *** [all] Error 2
    
    It has a bunch of similar boost related errors in the middle.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to