Skip to content

R4.6 not working #1448

@tomuben

Description

@tomuben

UDF Client compiled with R 4.5.2 on a R4.6 environment

Throws errors during execution of VM like:

yodbc.DataError: ('22002', '[22002] [Exasol][Exasol Driver]VM error: F-UDF-CL-LIB-1125: F-UDF-CL-SL-R-1000: F-UDF-CL-SL-R-1013: F-UDF-CL-SL-R-1005: Error in list.files(system.file(package = "codetools")) : \n  9 arguments passed to .Internal(list.files) which requires 8\n (Session: 1864413116990226432) (-3452546) (SQLExecDirectW)')

Compile UDF Client with R4.6.0

cc -shared -L/usr/lib/R/lib -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro -o data.table.so assign.o between.o bmerge.o chmatch.o cj.o coalesce.o dogroups.o fastmean.o fcast.o fifelse.o fmelt.o forder.o frank.o fread.o freadR.o froll.o frollR.o frolladaptive.o fsort.o fwrite.o fwriteR.o gsumm.o idatetime.o ijoin.o init.o inrange.o nafill.o negate.o nqrecreateindices.o openmp-utils.o programming.o quickselect.o rbindlist.o reorder.o shift.o snprintf.o subset.o transpose.o types.o uniqlist.o utils.o vecseq.o wrappers.o -fopenmp -lz -L/usr/lib/R/lib -lR
PKG_CFLAGS = -fopenmp
PKG_LIBS = -fopenmp -lz
if [ "data.table.so" != "data_table.so" ]; then mv data.table.so data_table.so; fi
if [ "" != "Windows_NT" ] && [ `uname -s` = 'Darwin' ]; then install_name_tool -id data_table.so data_table.so; fi
Error: package or namespace load failed for ?data.table? in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/usr/local/lib/R/site-library/00LOCK-data.table/00new/data.table/libs/data_table.so':
  /usr/local/lib/R/site-library/00LOCK-data.table/00new/data.table/libs/data_table.so: undefined symbol: SETLENGTH
Error: loading failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUnwanted / harmful behavior

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions