title: Persistent library search path in Linux
body: <p>I want to change LD_LIBRARY_PATH variable globally, to use some strange third-party SDK, which places its shared libraries to custom directories. So, I added such script to /etc/profile.d:</p>
  
  <pre>
  LD_LIBRARY_PATH=/usr/local/ebus_sdk/lib/genicam/bin/Linux64_x64:/usr/local/ebus_sdk/lib/qt/lib:/usr/local/ebus_sdk/lib:$LD_LIBRARY_PATH
  export LD_LIBRARY_PATH
  </pre>
  
  <p>After reboot, I type this in the command line:</p>
  
  <pre>
  alex@alex-64:~$ echo $LD_LIBRARY_PATH
  .
  </pre>
  
  <p>So, this way doesn't work. Is there any other way to add these directories to the library search path?</p>