Git Product home page Git Product logo

Comments (9)

amazing-gao avatar amazing-gao commented on August 16, 2024 1

@jannyHou Yes, I already tried that.
Now, i download the source code of strong-oracle and build by manual. I'm success.
I guess my library path is wrong, i already install instantclient 12 before.

from loopback-connector-oracle.

jannyHou avatar jannyHou commented on August 16, 2024

@cristtopher which system are you using?
For oracle connector, we need some other config to get it work:
Please check our doc for installation:
https://docs.strongloop.com/display/public/LB/Installing+the+Oracle+connector

BTW, if you are using linux system or mac, please follow the instruction and export LD_LIBRARY_PATH:
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/Users/<user>/<myapp>/node_modules/loopback-connector-oracle/node_modules/instantclient"

from loopback-connector-oracle.

tmannian avatar tmannian commented on August 16, 2024

I seem to be experiencing the same error. O/S Windows 7, Node 4.4.3, npm 3.8.6. Attempt to install into project and am met with a failure telling me something is likely wrong with the loopback-oracle install package.

Log-
npm-debug.txt

from loopback-connector-oracle.

eholzwarth avatar eholzwarth commented on August 16, 2024

Same issue, and yes I followed the instructions for updating LD_LIBRARY_PATH. RHEL 7 Node 4.4.2.

from loopback-connector-oracle.

amazing-gao avatar amazing-gao commented on August 16, 2024

Same issue, and yes I followed the instructions for updating LD_LIBRARY_PATH. RHEL 7 Node 4.4.2.

from loopback-connector-oracle.

jannyHou avatar jannyHou commented on August 16, 2024

@bitebit @eholzwarth Did you try the following TWO steps?

"strong-oracle.rc" has been created in $HOME. Please manually add the
following to your ".bash_profile":
source /Users/jannyhou/strong-oracle.rc
If you do not use bash as your default shell, please remember to set
$DYLD_LIBRARY_PATH prior to using node:
export DYLD_LIBRARY_PATH=":/Users/jannyhou/lb/triage/loopback-test/node_modules/instantclient"

When you install loopback-connector-oracle, those steps will be printed on your console.

And we have a new version of oracle connector which doesn't need config, but it's not published yet. I will also update it here after it's released.

from loopback-connector-oracle.

cjbj avatar cjbj commented on August 16, 2024

Is this with node-oracledb? On Linux you could set FORCE_RPATH=1 in the shell installing node-oracledb. You would no longer need to set LD_LIBRARY_PATH at runtime. This may not work if you are moving binaries around e.g. between machines with different install locations.

See https://github.com/oracle/node-oracledb/blob/master/INSTALL.md#linuxadv

from loopback-connector-oracle.

stale avatar stale commented on August 16, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from loopback-connector-oracle.

jannyHou avatar jannyHou commented on August 16, 2024

I am closing this issue due to out of date, and I believe the installation problem is already fixed. I am able to run test several times on local. Thanks for understanding.

from loopback-connector-oracle.

Related Issues (20)

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.