title: ODBC lib Specified driver could not be loaded
body: <p>I am trying to install ODBC drivers and I am running into brick walls.</p>
  
  <pre><code>[root@Crux pkg]# isql -v
  [IM002][DataDirect][ODBC lib] Data source name not found and no default driver specified
  [ISQL]ERROR: Could not SQLConnect
  [root@Crux pkg]# isql -3 SUBS2A
  [IM003][DataDirect][ODBC lib] Specified driver could not be loaded
  [ISQL]ERROR: Could not SQLConnect
  </code></pre>
  
  <p>My INI files are as follows;</p>
  
  <h1>odbcinst.ini</h1>
  
  <pre><code>[ProgressOpenEdge]
  Description = ODBC for Progress OpenEdge
  Driver = /usr/dlc/odbc/lib/pgoe1023.so
  ;Setup = /usr/dlc/odbc/lib/pgoe1023.so
  FileUsage = 1
  </code></pre>
  
  <h1>odbc.ini</h1>
  
  <pre><code>[SUBS2A]
  Driver = ProgressOpenEdge
  Description = Fail
  DatabaseName = SUBS
  PortNumber = 4000
  HostName = 192.168.1.2
  LogonID = SYSPROGRESS
  Password = SYSPROGRESS
  APILevel = 1
  ConnectFunctions = YYN
  CPTimeout = 60
  DriverODBCVer = 03.50
  FileUsage = 0
  SQLLevel = 0
  UsageCount = 1
  ArraySize = 50
  DefaultLongDataBuffLen = 2048
  DefaultIsolationLevel = REPEATABLE READ
  StaticCursorLongColBuffLen = 4096
  [ODBC]
  InstallDir = /usr/dlc/odbc
  Trace = 0
  TraceFile = odbctrace.out
  TraceDll = /usr/dlc/odbc/lib/odbctrac.so
  UseCursorLib = 0
  </code></pre>
  
  <p>I have already made sure all dependencies are loaded properly via ldd.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>OUTPUT OF: strace isql -v
  <a href="http://pastebin.com/tXFY4vVt" rel="nofollow">http://pastebin.com/tXFY4vVt</a></p>
  
  <p>OUTPUT OF: strace isql -3 SUBS2A
  <a href="http://pastebin.com/Yu5e54mR" rel="nofollow">http://pastebin.com/Yu5e54mR</a></p>
  
  <p>OUTPUT OF: /tmp/odbctrace.out
  <a href="http://pastebin.com/0kgvNdWv" rel="nofollow">http://pastebin.com/0kgvNdWv</a></p>
  
  <p>Thanks</p>