[unixODBC-support] ELFClass error

Govender, Maya maya.govender at ebucks.com
Mon Apr 2 06:41:11 BST 2007



Error: ld.so.1: sas: fatal: /usr/local/lib/libodbc.so: wrong ELF class:
ELFCLASS32 does mean that you are running a 32 bit tool on a 64 bit OS
.You need to compile with the 64 bit option.





From: unixodbc-support-bounces at easysoft.com
[mailto:unixodbc-support-bounces at easysoft.com] On Behalf Of
Brad.Smith at Altarum.org
Sent: Monday, April 02, 2007 7:05 AM
To: Support for the unixODBC project
Subject: [unixODBC-support] ELFClass error


I compiled UnixODBC without error and installed.  The datasource I
created tests fine -- a connection can be made successfully from the


However, when I attempt to access an ODBC data source in SAS on Solaris
10, X86, I get:


1          proc sql;
2          connect to odbc as mydb (DSN='PERSEUSSQL');
Could not load /usr/local/SAS/SAS_9.1/sasexe/sasodb (38 images loaded)
Error: ld.so.1: sas: fatal: /usr/local/lib/libodbc.so: wrong ELF class:
ERROR: The SAS/ACCESS Interface to ODBC cannot be loaded. The SASODB
code appendage could not be loaded.
ERROR: A Connection to the odbc DBMS is not currently supported, or is
not installed at your site.


This seems to be a problem running a 32 bit tool in 64 bit Solaris, but
I could be misinterpreting the message.  In addition to the 32 bit SQL
server driver I am using in my definition, I have access to a 64 bit SQL
server driver.  But, when I compile unixODBC, it does not recognize the
environment as 64 bit -- the ./configure log indicates so.  


Any ideas for best next steps?






Brad Smith



This email is subject to a disclaimer, which is available at: https://www.ebucks.com/email/disclaimer.html

If you are unable to access the Disclaimer, send a blank e-mail to disclaimer at ebucks.com and we will send you a copy of the Disclaimer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20070402/f2cd16c3/attachment.html>

More information about the unixODBC-support mailing list