title: Using dlopen to load one .so in Python says it can't find another in the same directory
body: <p>I connected yesterday using the SSH protocol to another computer and tried to load, through Python, a SO file (which would be compiled C). Here is what I got in the CLI:
  <a href="https://i.stack.imgur.com/GUwAG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GUwAG.png" alt="enter image description here"></a></p>
  
  <p>The file that is being requested (libLMR_Demodulator.so) next to "OSError:" is in the same dir as the file I want to load (libDemodulatorJNI_lmr.so).</p>
  
  <p>The python code (v3.5.2) is the following one:</p>
  
  <pre><code>import ctypes
  sh_obj = ctypes.cdll.LoadLibrary('./libLMR_Demodulator.so')
  actual_start_frequency = sh_obj.getActualStartFrequency(ctypes.c_long(0))
  print('The Current Actual Frequency Is: ' + str(actual_start_frequency))
  </code></pre>