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

Karl Dunkle Werner commented on ARROW-8556:
-------------------------------------------

Sure! The logs are pasted below.
 * Setting {{LIBARROW_BINARY=UBUNTU-18.04}} and reinstalling works.
 * I did not have zstd installed. I just installed version 1.4.3.
 * After installing zstd (and resetting {{LIBARROW_BINARY=true}}), installation 
fails again.

 
{noformat}
> install.packages("arrow")

* installing *source* package ‘arrow’ ...
** package ‘arrow’ successfully unpacked and MD5 sums checked
** using staged installation
*** No C++ binaries found for ubuntu-19.10
*** Successfully retrieved C++ source
*** Building C++ libraries
**** arrow  
PKG_CFLAGS=-I/tmp/RtmpDyA8s0/R.INSTALL3f884be9fa7b/arrow/libarrow/arrow-0.17.0/include
  -DARROW_R_WITH_ARROW
PKG_LIBS=-L/tmp/RtmpDyA8s0/R.INSTALL3f884be9fa7b/arrow/libarrow/arrow-0.17.0/lib
 -larrow_dataset -lparquet -larrow -larrow -larrow_dataset -lbrotlidec-static 
-lbrotlienc-static -lbrotlizzz-static -ljemalloc_pic -llz4 -lparquet -lsnappy 
-lthrift -lthriftz
** libs
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG 
-I/tmp/RtmpDyA8s0/R.INSTALL3f884be9fa7b/arrow/libarrow/arrow-0.17.0/include  
-DARROW_R_WITH_ARROW -I"/home/karl/test_arrow/Rcpp/include"   -fpic  -g -O2 
-fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c 
array.cpp -o array.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG 
-I/tmp/RtmpDyA8s0/R.INSTALL3f884be9fa7b/arrow/libarrow/arrow-0.17.0/include  
-DARROW_R_WITH_ARROW -I"/home/karl/test_arrow/Rcpp/include"   -fpic  -g -O2 
-fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c 
array_from_vector.cpp -o array_from_vector.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG 
-I/tmp/RtmpDyA8s0/R.INSTALL3f884be9fa7b/arrow/libarrow/arrow-0.17.0/include  
-DARROW_R_WITH_ARROW -I"/home/karl/test_arrow/Rcpp/include"   -fpic  -g -O2 
-fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c 
array_to_vector.cpp -o array_to_vector.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG 
-I/tmp/RtmpDyA8s0/R.INSTALL3f884be9fa7b/arrow/libarrow/arrow-0.17.0/include  
-DARROW_R_WITH_ARROW -I"/home/karl/test_arrow/Rcpp/include"   -fpic  -g -O2 
-fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c 
arraydata.cpp -o arraydata.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG 
-I/tmp/RtmpDyA8s0/R.INSTALL3f884be9fa7b/arrow/libarrow/arrow-0.17.0/include  
-DARROW_R_WITH_ARROW -I"/home/karl/test_arrow/Rcpp/include"   -fpic  -g -O2 
-fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c 
arrowExports.cpp -o arrowExports.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG 
-I/tmp/RtmpDyA8s0/R.INSTALL3f884be9fa7b/arrow/libarrow/arrow-0.17.0/include  
-DARROW_R_WITH_ARROW -I"/home/karl/test_arrow/Rcpp/include"   -fpic  -g -O2 
-fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c 
buffer.cpp -o buffer.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG 
-I/tmp/RtmpDyA8s0/R.INSTALL3f884be9fa7b/arrow/libarrow/arrow-0.17.0/include  
-DARROW_R_WITH_ARROW -I"/home/karl/test_arrow/Rcpp/include"   -fpic  -g -O2 
-fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c 
chunkedarray.cpp -o chunkedarray.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG 
-I/tmp/RtmpDyA8s0/R.INSTALL3f884be9fa7b/arrow/libarrow/arrow-0.17.0/include  
-DARROW_R_WITH_ARROW -I"/home/karl/test_arrow/Rcpp/include"   -fpic  -g -O2 
-fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c 
compression.cpp -o compression.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG 
-I/tmp/RtmpDyA8s0/R.INSTALL3f884be9fa7b/arrow/libarrow/arrow-0.17.0/include  
-DARROW_R_WITH_ARROW -I"/home/karl/test_arrow/Rcpp/include"   -fpic  -g -O2 
-fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c 
compute.cpp -o compute.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG 
-I/tmp/RtmpDyA8s0/R.INSTALL3f884be9fa7b/arrow/libarrow/arrow-0.17.0/include  
-DARROW_R_WITH_ARROW -I"/home/karl/test_arrow/Rcpp/include"   -fpic  -g -O2 
-fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c csv.cpp 
-o csv.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG 
-I/tmp/RtmpDyA8s0/R.INSTALL3f884be9fa7b/arrow/libarrow/arrow-0.17.0/include  
-DARROW_R_WITH_ARROW -I"/home/karl/test_arrow/Rcpp/include"   -fpic  -g -O2 
-fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c 
dataset.cpp -o dataset.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG 
-I/tmp/RtmpDyA8s0/R.INSTALL3f884be9fa7b/arrow/libarrow/arrow-0.17.0/include  
-DARROW_R_WITH_ARROW -I"/home/karl/test_arrow/Rcpp/include"   -fpic  -g -O2 
-fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c 
datatype.cpp -o datatype.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG 
-I/tmp/RtmpDyA8s0/R.INSTALL3f884be9fa7b/arrow/libarrow/arrow-0.17.0/include  
-DARROW_R_WITH_ARROW -I"/home/karl/test_arrow/Rcpp/include"   -fpic  -g -O2 
-fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c 
expression.cpp -o expression.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG 
-I/tmp/RtmpDyA8s0/R.INSTALL3f884be9fa7b/arrow/libarrow/arrow-0.17.0/include  
-DARROW_R_WITH_ARROW -I"/home/karl/test_arrow/Rcpp/include"   -fpic  -g -O2 
-fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c 
feather.cpp -o feather.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG 
-I/tmp/RtmpDyA8s0/R.INSTALL3f884be9fa7b/arrow/libarrow/arrow-0.17.0/include  
-DARROW_R_WITH_ARROW -I"/home/karl/test_arrow/Rcpp/include"   -fpic  -g -O2 
-fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c 
field.cpp -o field.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG 
-I/tmp/RtmpDyA8s0/R.INSTALL3f884be9fa7b/arrow/libarrow/arrow-0.17.0/include  
-DARROW_R_WITH_ARROW -I"/home/karl/test_arrow/Rcpp/include"   -fpic  -g -O2 
-fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c 
filesystem.cpp -o filesystem.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG 
-I/tmp/RtmpDyA8s0/R.INSTALL3f884be9fa7b/arrow/libarrow/arrow-0.17.0/include  
-DARROW_R_WITH_ARROW -I"/home/karl/test_arrow/Rcpp/include"   -fpic  -g -O2 
-fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c io.cpp 
-o io.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG 
-I/tmp/RtmpDyA8s0/R.INSTALL3f884be9fa7b/arrow/libarrow/arrow-0.17.0/include  
-DARROW_R_WITH_ARROW -I"/home/karl/test_arrow/Rcpp/include"   -fpic  -g -O2 
-fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c 
json.cpp -o json.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG 
-I/tmp/RtmpDyA8s0/R.INSTALL3f884be9fa7b/arrow/libarrow/arrow-0.17.0/include  
-DARROW_R_WITH_ARROW -I"/home/karl/test_arrow/Rcpp/include"   -fpic  -g -O2 
-fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c 
memorypool.cpp -o memorypool.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG 
-I/tmp/RtmpDyA8s0/R.INSTALL3f884be9fa7b/arrow/libarrow/arrow-0.17.0/include  
-DARROW_R_WITH_ARROW -I"/home/karl/test_arrow/Rcpp/include"   -fpic  -g -O2 
-fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c 
message.cpp -o message.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG 
-I/tmp/RtmpDyA8s0/R.INSTALL3f884be9fa7b/arrow/libarrow/arrow-0.17.0/include  
-DARROW_R_WITH_ARROW -I"/home/karl/test_arrow/Rcpp/include"   -fpic  -g -O2 
-fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c 
parquet.cpp -o parquet.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG 
-I/tmp/RtmpDyA8s0/R.INSTALL3f884be9fa7b/arrow/libarrow/arrow-0.17.0/include  
-DARROW_R_WITH_ARROW -I"/home/karl/test_arrow/Rcpp/include"   -fpic  -g -O2 
-fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c 
py-to-r.cpp -o py-to-r.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG 
-I/tmp/RtmpDyA8s0/R.INSTALL3f884be9fa7b/arrow/libarrow/arrow-0.17.0/include  
-DARROW_R_WITH_ARROW -I"/home/karl/test_arrow/Rcpp/include"   -fpic  -g -O2 
-fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c 
recordbatch.cpp -o recordbatch.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG 
-I/tmp/RtmpDyA8s0/R.INSTALL3f884be9fa7b/arrow/libarrow/arrow-0.17.0/include  
-DARROW_R_WITH_ARROW -I"/home/karl/test_arrow/Rcpp/include"   -fpic  -g -O2 
-fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c 
recordbatchreader.cpp -o recordbatchreader.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG 
-I/tmp/RtmpDyA8s0/R.INSTALL3f884be9fa7b/arrow/libarrow/arrow-0.17.0/include  
-DARROW_R_WITH_ARROW -I"/home/karl/test_arrow/Rcpp/include"   -fpic  -g -O2 
-fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c 
recordbatchwriter.cpp -o recordbatchwriter.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG 
-I/tmp/RtmpDyA8s0/R.INSTALL3f884be9fa7b/arrow/libarrow/arrow-0.17.0/include  
-DARROW_R_WITH_ARROW -I"/home/karl/test_arrow/Rcpp/include"   -fpic  -g -O2 
-fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c 
schema.cpp -o schema.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG 
-I/tmp/RtmpDyA8s0/R.INSTALL3f884be9fa7b/arrow/libarrow/arrow-0.17.0/include  
-DARROW_R_WITH_ARROW -I"/home/karl/test_arrow/Rcpp/include"   -fpic  -g -O2 
-fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c 
symbols.cpp -o symbols.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG 
-I/tmp/RtmpDyA8s0/R.INSTALL3f884be9fa7b/arrow/libarrow/arrow-0.17.0/include  
-DARROW_R_WITH_ARROW -I"/home/karl/test_arrow/Rcpp/include"   -fpic  -g -O2 
-fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c 
table.cpp -o table.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG 
-I/tmp/RtmpDyA8s0/R.INSTALL3f884be9fa7b/arrow/libarrow/arrow-0.17.0/include  
-DARROW_R_WITH_ARROW -I"/home/karl/test_arrow/Rcpp/include"   -fpic  -g -O2 
-fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c 
threadpool.cpp -o threadpool.o
g++ -std=gnu++11 -Wl,--strip-debug -shared -L/usr/lib/R/lib 
-Wl,-Bsymbolic-functions -Wl,-z,relro -o arrow.so array.o array_from_vector.o 
array_to_vector.o arraydata.o arrowExports.o buffer.o chunkedarray.o 
compression.o compute.o csv.o dataset.o datatype.o expression.o feather.o 
field.o filesystem.o io.o json.o memorypool.o message.o parquet.o py-to-r.o 
recordbatch.o recordbatchreader.o recordbatchwriter.o schema.o symbols.o 
table.o threadpool.o 
-L/tmp/RtmpDyA8s0/R.INSTALL3f884be9fa7b/arrow/libarrow/arrow-0.17.0/lib 
-larrow_dataset -lparquet -larrow -larrow -larrow_dataset -lbrotlidec-static 
-lbrotlienc-static -lbrotlizzz-static -ljemalloc_pic -llz4 -lparquet -lsnappy 
-lthrift -lthriftz -L/usr/lib/R/lib -lR
installing to /home/karl/test_arrow/00LOCK-arrow/00new/arrow/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for ‘arrow’ in dyn.load(file, DLLpath = 
DLLpath, ...):
 unable to load shared object 
'/home/karl/test_arrow/00LOCK-arrow/00new/arrow/libs/arrow.so':
  /home/karl/test_arrow/00LOCK-arrow/00new/arrow/libs/arrow.so: undefined 
symbol: ZSTD_initCStream
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/home/karl/test_arrow/arrow’{noformat}

> [R] zstd symbol not found on Ubuntu 19.10
> -----------------------------------------
>
>                 Key: ARROW-8556
>                 URL: https://issues.apache.org/jira/browse/ARROW-8556
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: R
>    Affects Versions: 0.17.0
>         Environment: Ubuntu 19.10
> R 3.6.1
>            Reporter: Karl Dunkle Werner
>            Priority: Major
>
> I would like to install the `arrow` R package on my Ubuntu 19.10 system. 
> Prebuilt binaries are unavailable, and I want to enable compression, so I set 
> the {{LIBARROW_MINIMAL=false}} environment variable. When I do so, it looks 
> like the package is able to compile, but can't be loaded. I'm able to install 
> correctly if I don't set the {{LIBARROW_MINIMAL}} variable.
> Here's the error I get:
> {code:java}
> ** testing if installed package can be loaded from temporary location
> Error: package or namespace load failed for ‘arrow’ in dyn.load(file, DLLpath 
> = DLLpath, ...):
>  unable to load shared object 
> '~/.R/3.6/00LOCK-arrow/00new/arrow/libs/arrow.so':
>   ~/.R/3.6/00LOCK-arrow/00new/arrow/libs/arrow.so: undefined symbol: 
> ZSTD_initCStream
> Error: loading failed
> Execution halted
> ERROR: loading failed
> * removing ‘~/.R/3.6/arrow’
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to