Open day0ops opened 8 years ago
Hello,
I have never had such an issue. It seems that the make
binary or loaded libraries by it have something problem.
Could you try the latest tatsushid/tinycore-node:6.3
image? I could build the oracledb
npm with it in the following way.
docker run -it --rm tatsushid/tinycore-node:6.3 /bin/sh # run it on host machine
su tc
cd /tmp/
tce-load -wic python gcc make unzip linux-4.2.1_api_headers glibc_base-dev glibc_add_lib
unzip instantclient-basiclite-linux.x64-12.1.0.2.0.zip # copied from host machine by docker cp
unzip instantclient-sdk-linux.x64-12.1.0.2.0.zip # copied from host machine by docker cp
export OCI_LIB_DIR=/tmp/instantclient_12_1
export OCI_INC_DIR=/tmp/instantclient_12_1/sdk/include
cd instantclient_12_1/
ln -s libclntsh.so.12.1 libclntsh.so
cd ..
npm install oracledb
Hey @tatsushid
Your TinyCore base image looks very promising. Im trying to build node-oracledb on top of this and running into a rather strange issue.
make
fails without any particular reason.And running
make
on command line throwsSegmentation fault
,Have you run into a similar issue ?