Open wtang2019 opened 3 years ago
We found that if we use the image FROM newrelic/infrastructure:latest-centos we do not get the glibc errors - hope this helps
Regarding the errors, we tried
FROM newrelic/infrastructure:latest RUN apk add build-base
but we then get new errors
Error relocating ./snowflakeintegration-linux: gnu_get_libc_version: symbol not found Error relocating ./snowflakeintegration-linux: __register_atfork: symbol not found Error relocating ./snowflakeintegration-linux: __strdup: symbol not found Error relocating ./snowflakeintegration-linux: setcontext: symbol not found Error relocating ./snowflakeintegration-linux: makecontext: symbol not found Error relocating ./snowflakeintegration-linux: backtrace: symbol not found Error relocating ./snowflakeintegration-linux: getcontext: symbol not found
I built a debian version of the newrelic/infrastructure container and that seemed to work. I can try to add a Dockerfile to this repo in hopes that others might find it useful. #11
@star3am I am also trying newrelic/infrastructure:latest-centos
but I can't see this folder automatically created on path /etc/newrelic-infra/integrations.d/
which is required to execute step-8 in the documentation. How did you make it work?
Also when I try to execute ./snowflakeintegration-linux .
I get this error
Error reading config.yaml file Error: EISDIR: illegal operation on a directory, read at Object.readSync (fs.js:564:3) at Object.fs.readSync (pkg/prelude/bootstrap.js:554:32) at tryReadSync (fs.js:349:20) at Object.readFileSync (fs.js:386:19) at Object.fs.readFileSync (pkg/prelude/bootstrap.js:683:36) at Object.<anonymous> (/snapshot/newrelic-snowflake-integration/snowflake.js:20:13) at Module._compile (pkg/prelude/bootstrap.js:1320:22) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1156:10) at Module.load (internal/modules/cjs/loader.js:984:32) at Function.Module._load (internal/modules/cjs/loader.js:877:14) { errno: -21, syscall: 'read', code: 'EISDIR' }
you could try: apk add libc6-compat gcompat
Hi guys, I am trying to do the newrelic-snowflake integration but it seems that the images provided by NR newrelic/infrastructure:latest and newrelic/infrastructure-k8s:2.6.0
has some missing libraries which does not support this integration discussed here https://github.com/newrelic/newrelic-snowflake-integration I have attached the error in file. If I try to install these libraries this error (in file) disappears but we end up in the new error which is:
error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory nr-snow-error.txt