You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting undefined symbol error when trying to run prebuilt opencv built on amazonlinux (v1) docker image on a jenkins CI box.
Setup:
opencv4nodejs: 4.8.0
opencv: 3.3.1
Running in aws lambda
Pre-built opencv and installed opencv4nodejs in docker amazonlinux:1 (version 1)
Transplant nodemodules for opencv4nodejs and dynamically linked libs folder from opencv to CI box (ultimately aws lambda)
set LD_LIBRARY_PATH to point to these libs
CI box (redhat) reports: node_modules/opencv4nodejs/build/Release/opencv4nodejs.node: undefined symbol: _ZN2v87Isolate19CheckMemoryPressureEv
Curious if this is something simple with my setup or simply an incompatibility between amazonlinux (v1) and redhat CI box, which should be pretty close.
Getting undefined symbol error when trying to run prebuilt opencv built on amazonlinux (v1) docker image on a jenkins CI box.
Setup:
opencv4nodejs: 4.8.0
opencv: 3.3.1
Running in aws lambda
Pre-built opencv and installed opencv4nodejs in docker amazonlinux:1 (version 1)
Transplant nodemodules for opencv4nodejs and dynamically linked libs folder from opencv to CI box (ultimately aws lambda)
set LD_LIBRARY_PATH to point to these libs
CI box (redhat) reports:
node_modules/opencv4nodejs/build/Release/opencv4nodejs.node: undefined symbol: _ZN2v87Isolate19CheckMemoryPressureEv
Curious if this is something simple with my setup or simply an incompatibility between amazonlinux (v1) and redhat CI box, which should be pretty close.
CMAKE:
cmake -D CMAKE_BUILD_TYPE=RELEASE -D BUILD_SHARED_LIBS=ON -D BUILD_EXAMPLES=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=OFF -D CMAKE_INSTALL_PREFIX=/tmp/opencv/opencv-3.3.1 /tmp/opencv/opencv-3.3.1-source
NPM:
OPENCV4NODEJS_DISABLE_AUTOBUILD=1 OPENCV_INCLUDE_DIR=/tmp/opencv/opencv-3.3.1/include/ OPENCV_LIB_DIR=/tmp/opencv/opencv-3.3.1/lib/ npm install opencv4nodejs --production
The text was updated successfully, but these errors were encountered: