Consultor Eletrônico



Kbase P44928: Error 8013 8014 and 3258 running a _progres session
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/17/2005
Status: Verified

FACT(s) (Environment):

Progress 9.1D 64-bit
Solaris SPARC 8 64-bit
Solaris SPARC 9 64-bit

SYMPTOM(s):

Could not open Dynamic Library: /usr/lib/libc.so.1 (8013)

DLL Error : ld.so.1: /opt/progress/91d64/bin/_progres: fatal: /usr/lib/libc.so.1: wrong ELF class: ELFCLASS32 (8014)

Could not load DLL procedure /usr/lib/libc.so.1. (3258)

ldd of _progres gives correct output as follows

# ldd _progres
libsocket.so.1 => /usr/lib/64/libsocket.so.1
libnsl.so.1 => /usr/lib/64/libnsl.so.1
libintl.so.1 => /usr/lib/64/libintl.so.1
libdl.so.1 => /usr/lib/64/libdl.so.1
libm.so.1 => /usr/lib/64/libm.so.1
libthread.so.1 => /usr/lib/64/libthread.so.1
libc.so.1 => /usr/lib/64/libc.so.1
libmp.so.2 => /usr/lib/64/libmp.so.2
/usr/platform/SUNW,Ultra-5_10/lib/sparcv9/libc_psr.so.1

CAUSE:

Application code, which is failing with 8013, 8014 and 3258 errors has hardcoded path to call /usr/lib/libc.so.1 library and /usr/lib/libc.so.1 is a 32-bit library, thus the failure.

FIX:

Modify your application code to call 64-bit library using /usr/lib/64/libc.so.1