title: Error connecting to oracle. Getting an UnsatisfiedLinkError for the method t2cGetCharSet
body: <p>I am running a series of JUnits using Apache ANT using JDK 1.5.</p>
  
  <p>All JUnits that use an Oracle JDBC driver give the UnsatisfiedLinkError shown below.</p>
  
  <p>What native library is it looking for and how do I solve this? What should the PATH variable contain?</p>
  
  <pre><code>java.lang.UnsatisfiedLinkError: oracle/jdbc/driver/T2CConnection.t2cGetCharSet([CI[CI[CI[CII[SLoracle/jdbc/driver/GetCharSetError;)S
          at oracle.jdbc.driver.T2CConnection.getCharSetIds(T2CConnection.java:2957)
          at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:320)
          at oracle.jdbc.driver.PhysicalConnection.&lt;init&gt;(PhysicalConnection.java:361)
          at oracle.jdbc.driver.T2CConnection.&lt;init&gt;(T2CConnection.java:142)
          at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:79)
          at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:595)
          at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:196)
          at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection(OracleConnectionPoolDataSource.java:114)
          at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:77)
          at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:59)
          at oracle.jdbc.pool.OracleConnectionCacheImpl.getNewPoolOrXAConnection(OracleConnectionCacheImpl.java:401)
          at oracle.jdbc.pool.OracleConnectionCacheImpl.setMinLimit(OracleConnectionCacheImpl.java:752) 
  </code></pre>