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

Ehsan Totoni commented on PARQUET-1112:
---------------------------------------

Thanks for following up. Yes, there is only one version, but the conda build 
looks quite different. This is easy to reproduce: compiling/linking a cpp file 
that includes `ParquetFileReader::OpenFile(str)` will produce this error:

{noformat}
test_parquet.cpp:(.text+0x1bd): undefined reference to 
`parquet::ParquetFileReader::OpenFile(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&, bool, 
parquet::ReaderProperties const&, std::shared_ptr<parquet::FileMetaData> 
const&)'
{noformat}

`nm` shows that the version of the function in the conda build is different 
than the one built from source:

{noformat}
nm python/anaconda3/envs/PA/lib/libparquet.so | grep OpenFile
0000000000104b70 T 
_ZN7parquet17ParquetFileReader8OpenFileERKSsbRKNS_16ReaderPropertiesERKSt10shared_ptrINS_12FileMetaDataEE
{noformat}

{noformat}
nm parquet-cpp/build/debug/libparquet.so | grep OpenFile
00000000002a9356 T 
_ZN7parquet17ParquetFileReader8OpenFileERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbRKNS_16ReaderPropertiesERKSt10shared_ptrINS_12FileMetaDataEE
{noformat}

> ParquetFileReader::OpenFile(string) not available in conda binary
> -----------------------------------------------------------------
>
>                 Key: PARQUET-1112
>                 URL: https://issues.apache.org/jira/browse/PARQUET-1112
>             Project: Parquet
>          Issue Type: Bug
>          Components: parquet-cpp
>         Environment: Ubuntu 16.04
> Anaconda 4.4
> python 3.6.2
> parquet-cpp 1.3.0.pre
>            Reporter: Ehsan Totoni
>
> When I install parquet-cpp through conda, the 
> ParquetFileReader::OpenFile(string) function is not available in the library 
> binary. 'nm' only shows the version of the function with (ReaderProperties, 
> FileMetaData) input.
> The function is available when building parquet-cpp from source though.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to