Skip to main content
edited tags
Link
Gilles 'SO- stop being evil'
  • 865.9k
  • 205
  • 1.8k
  • 2.3k
Source Link
HelloWorld
  • 103
  • 1
  • 4

LD_LIBRARY_PATH not found - CentOS

I am trying to run the following two commands...

LD_LIBRARY_PATH =/opt/oracle/instantclient_12_1
export LD_LIBRARY_PATH

But when I run the first command I get an error

-bash: LD_LIBRARY_PATH: command not found 

My OS data is below,

  • OS Version = CentOS release 5.9 (Final)
  • Platform Data = 2.6.18-348.18.1.el5 x86_64 x86_64 GNU/Linux

I've tried as a normal user and as sudo, also get the same error when trying to just set LIBRARY_PATH. This works on ubuntu what I am doing wrong?