libct.so.4: wrong ELF class
sharif islam <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
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