Bug 1036835

Summary: ODBC drivers not working on RHEL 6.4
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Filip Nguyen <fnguyen>
Component: ProductizationAssignee: Julian Coleman <jcoleman>
Status: CLOSED NOTABUG QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: atangrin
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Users are finding that the ODBC drivers are not working on Red Hat Enterprise Linux 6.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-03 07:11:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Filip Nguyen 2013-12-02 17:32:29 UTC
I am successfully able to use ODBC drivers on RHEL 5 but cannot get them working on RHEL6. 

Maybe I am missing some dependencies there, but I have unix odbc installed (unixODBC-2.2.14-12.el6_3.x86_64).


[fnguyen@dev170 ~]$  isql -v eds < query.sql
[01000][unixODBC][Driver Manager]Can't open lib '/opt/redhat/jboss-dv/v6/psqlodbc/lib64/psqlodbc.so' : file not found
[ISQL]ERROR: Could not SQLConnect
[fnguyen@dev170 ~]$ ldd /opt/redhat/jboss-dv/v6/psqlodbc/lib64/psqlodbc.so
	linux-vdso.so.1 =>  (0x00007fff15590000)
	libssl.so.6 => not found
	libpq.so.4 => not found
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fbf2b0df000)
	libodbcinst.so.1 => not found
	libodbc.so.1 => not found
	libc.so.6 => /lib64/libc.so.6 (0x00007fbf2ad4b000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fbf2b592000)

Comment 1 Filip Nguyen 2013-12-03 07:11:42 UTC
[fnguyen@dev170 ~]$ cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 6.4 (Santiago)