Consultor Eletrônico



Kbase P147308: Error 8013 and 8014 running HLC example in OpenEdge on HPUX 64 bit
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   02/06/2009
Status: Unverified

SYMPTOM(s):

Error 8013 and 8014 running HLC example in OpenEdge on HPUX 64 bit

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

DLL Error : <dllerror> (8014)

Could not open Dynamic Library: /opt/dlc10C/lib/libprodbgtlr.sl (8013)

DLL Error : '/usr/lib/pa20_64/libcl.2' contains a static TLS reference to '__thread_specific_seg' defined in a dynamically loaded library '/usr/lib/pa20_64/libcl.2'. Use +tls=dynamic to re-compile '/usr/lib/pa20_64/libcl.2'. (8014)

The _progres HLC executable runs despite the error

FACT(s) (Environment):

PA-RISC 64-bit
HP-UX 11.x
OpenEdge 10.1C 64-bit

CAUSE:

The newer TLS (thread local storage) symbols in libc have not been exported therefore the symbols can not be found

FIX:

The LD_PRELOAD environment variable allows you to load shared libraries and its symbols at program startup. Set this environment variable to enable preload of the symbols
LD_PRELOAD=/usr/lib/pa20_64/libpthread.1:/usr/lib/pa20_64/libcl.2; export LD_PRELOAD