title: java: symbol lookup error: undefined symbol: _ZN2cv6String8allocateEm
body: <p>When I type</p>
  
  <pre><code>java -Djava.library.path="path to opencv lib folder" : "path to my libJavaFileName.so" JavaFileName
  </code></pre>
  
  <p>I receive the following message:</p>
  
  <pre><code>java: symbol lookup error: "path to my libJavaFileName.so": undefined symbol: _ZN2cv6String8allocateEm
  </code></pre>
  
  <p>What is the meaning of <code>undefined symbol: _ZN2cv6String8allocateEm</code> and how can I fix it?</p>