installing Oracle Instantclient on Linux without setting environment variables?

前端 未结 6 852
别那么骄傲
别那么骄傲 2021-02-10 01:37

Oracle\'s instructions specify setting LD_LIBRARY_PATH. This makes my application dependent on random users\' configuration and is very troublesome to set up.

How can I

6条回答
  •  无人共我
    2021-02-10 02:12

    Add the library path to /etc/ld.so.conf, then run /sbin/ldconfig. You don't need to set LD_LIBRARY_PATH for libraries installed in standard locations like /usr/lib because these locations are already configured in /etc/ld.so.conf.

提交回复
热议问题