Consultor Eletrônico



Kbase P79345: Error 8013 connecting to Oracle using Oracle DataServer
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   9/19/2008
Status: Verified

SYMPTOM(s):

Error 8013 connecting to Oracle using Oracle DataServer

Could not open Dynamic Library: <libraryName> (8013)

Could not open Dynamic Library: /xx/xx/xx/lib/libclntsh.so (8013)

DLL Error : <dllerror> (8014)

DLL Error : ld.so.1: /xx/xx/bin/_progres: fatal: /xx/xx/xx/lib/libclntsh.so: wrong ELF class: ELFCLASS64 (8014)

Progress 32 bit Oracle dataserver

Oracle 9i 64 bit Oracle client

lib and lib32 sub directories exist under ORACLE_HOME

FACT(s) (Environment):

Sun Solaris SPARC
Oracle DataServer
Progress 9.1D

CAUSE:

On 32 bit platforms, Oracle dataserver is harded coded to look and load libclntsh.so from $ORACLE_HOME/lib directory. For 64 bit 9i Oracle installation, this directory contains 64 bit libclntsh.so, 32 bit executable can not load 64 bit library, thus the error

FIX:

1. Set ORASOPATHNAME to point to 32 bit libclntsh.so

ORASOPATHNAME=$ORACLE_HOME/lib32/libclntsh.so; export ORASOPATHNAME

2. In the same session, restart dataserver and reconnect to Oracle