Skip to content

Error: DPI-1047: Cannot locate a 64-bit Oracle Client library: "/usr/src/app/oracle/instantclient_18_3/libclntsh.so: file too short". #1059

@KaustubhYK

Description

@KaustubhYK

This is my Dockerfile
FROM node:carbon

USER root

WORKDIR /usr/src/app

COPY package*.json ./

RUN npm install

COPY . .

RUN chmod -R 777 /usr/src/app

ENV LD_LIBRARY_PATH="/usr/src/app/oracle/instantclient_18_3"

I am using oracledb@3.1.2 node module to connect with oracle database.
And I am getting above error while calling getConnection function of oracledb.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions