Giter VIP home page Giter VIP logo

mypython's Introduction

myPython

Error and fix "libclntsh.so: cannot open shared object file"

jdelat04@juanlinux ~/Interfolio/src/interfolioRPT
$ python interfoliorpt/main.py | tee -a `date +"%Y-%m-%d__%H-%M-%S"`_uploading_dry_run_bug_fix.log
ERROR:root:DPI-1047: Cannot locate a 64-bit Oracle Client library: "libclntsh.so: cannot open shared object file: No such file or directory". See https://oracle.github.io/odpi/doc/installation.html#linux for help
Traceback (most recent call last):
  File "interfoliorpt/main.py", line 22, in <module>
    main()
  File "interfoliorpt/main.py", line 15, in main
    tco.test_upload_all_surveys_ordered()
  File "./interfoliorpt/interfolio_erpt/ifolio_test/TestClassOperations.py", line 714, in test_upload_all_surveys_ordered
    dw = DataWarehouse(env)
  File "/home/jdelat04/Interfolio/src/interfolioRPT/interfoliorpt/interfolio_erpt/DataWarehouse.py", line 28, in __init__
    self.__create_connections()
  File "/home/jdelat04/Interfolio/src/interfolioRPT/interfoliorpt/interfolio_erpt/DataWarehouse.py", line 34, in __create_connections
    self.cp_connection = cx_Oracle.connect(self.cp_user, self.cp_password, self.cp_db)
cx_Oracle.DatabaseError: DPI-1047: Cannot locate a 64-bit Oracle Client library: "libclntsh.so: cannot open shared object file: No such file or directory". See https://oracle.github.io/odpi/doc/installation.html#linux for help
(env_linux) 
jdelat04@juanlinux ~/Interfolio/src/interfolioRPT
$ export LD_LIBRARY_PATH=/opt/oracle/instantclient_12_1/
$ ls /opt/oracle/instantclient_12_1/
adrci         genezi      libclntshcore.so.12.1  libclntsh.so.12.1  libmql1.so   libocci.so.12.1  libocijdbc12.so  liboramysql12.so  libsqlplus.so  ojdbc6.jar  sdk      SQLPLUS_README  xstreams.jar
BASIC_README  glogin.sql  libclntsh.so           libipc1.so         libnnz12.so  libociei.so      libons.so        libsqlplusic.so   network        ojdbc7.jar  sqlplus  uidrvci

mypython's People

Contributors

jjdltorre avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.