Skip to Content.
Sympa Menu

freetds - [freetds] libct.so.4: wrong ELF class

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: sharif islam <sharif.islam AT gmail.com>
  • To: FreeTDS AT lists.ibiblio.org
  • Subject: [freetds] libct.so.4: wrong ELF class
  • Date: Thu, 27 Aug 2009 10:13:14 -0500

Hi,
I have some perl scripts that connects to MSSQL 2000. They were
working fine on RHEL 5 32 bit but failing on the 64 bit. I have
guessing some of the libraries are not loading properly.

This is the error I am getting:

install_driver(Sybase) failed: Can't load
'/exlibris/sfx_ver/sfx_version_3/app/perl-5.8.6/lib/site_perl/5.8.6/i686-linux/auto/DBD/Sybase/Sybase.so'
for module DBD::Sybase: libct.so.4: wrong ELF class: ELFCLASS64 at
/exlibris/sfx_ver/sfx_version_3/app/perl-5.8.6/lib/5.8.6/i686-linux/DynaLoader.pm
line 230.
at (eval 10) line 3
Compilation failed in require at (eval 10) line 3.


I am using freetds-0.82
kernel 2.6.18-128.4.1.el5
Red Hat Enterprise Linux Server release 5.3 (Tikanga)

And config:

./configure --prefix=/usr/local/freetds --with-tdsver=8.0
--enable-msdblib --enable-dbmfix --with-gnu-ld --enable-shared
--enable-static

# ls -lrt /usr/lib64/libct.so.4
lrwxrwxrwx 1 root root 37 Aug 19 09:51 /usr/lib64/libct.so.4 ->
/usr/local/freetds/lib/libct.so.4.0.0


--s




Archive powered by MHonArc 2.6.24.

Top of Page