question about plugin environment variables. i am...
# troubleshooting
j
question about plugin environment variables. i am trying to setup tap-oracle (from transferwise, but the other one had same error) and it's saying i need the client libraries. so i downloaded those and unzipped them...but i need to create an environment variable now called
LD_LIBRARY_PATH
i assume. question is, since im in a container, can i just have variable set in meltano.yml somehow?
s
This code is from a Docker container
Dockerfile
it shows an example setup for Oracle Client to get it working. Once set, it should work.
Copy code
# Install the Oracle Client
RUN mkdir /opt/oracle \
    && cd ~ \
    && curl -O <https://download.oracle.com/otn_software/linux/instantclient/1912000/instantclient-basic-linux.x64-19.12.0.0.0dbru.zip> \
    && unzip instantclient-basic-linux.x64-19.12.0.0.0dbru.zip -d /opt/oracle \
    && rm instantclient-basic-linux.x64-19.12.0.0.0dbru.zip

# Set required Oracle Client environment variables
ENV ORACLE_HOME="/opt/oracle/instantclient_19_12"
ENV PATH="$PATH:$ORACLE_HOME" \
    LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$ORACLE_HOME" \
    TNS_ADMIN="$ORACLE_HOME/network/admin"