Consultor Eletrônico



Kbase 19496: PROBUILD on HPUX for ORACLE 7.3.3 and 7.3.4
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   31/01/2005
Status: Unverified

FACT(s) (Environment):

Progress 9.1A
Oracle Dataserver
HP-UX
ORACLE 7.3.3
ORACLE 7.3.4

SYMPTOM(s):

Error 48 & 49 are received when accessing data from Oracle

SYSTEM ERROR: Bus error. (48)

SYSTEM ERROR: Memory violation. (49)

The errors you get are:

/usr/lib/dld.sl: Unresolved symbol:
pthread_attr_default (data)
pthread_mutexattr_default (data)
cma_pipe (code)
cma_write
cma_sleep
cma_recvfrom
cma_send (code)
cma_connect (code)
sqlos1 (code)
sqlfcc (code)
sqloca (code)
sqlfch (code)
cma_recv (code)
cma_poll (code)
cma_close (code)
sqlab1 (code)
cma_ioctl (code)
pthread_create (code)
pthread_lock_global_np (code)
cma_read (code)
sqlwnr (code)
sqlbs1 (code)
cma_socket (code)
cma_waitpid (code)
sqlbcc (code)
sqlad1 (code)
cma_accept (code)
pthread_unlock_global_np (code)
sqltfl (code)
sqllen (code)
cma_fork (code)
cma_wait (code)
cma_select (code)
sqltoc (code)
cma_open (code)
sqlsqs (code)
sqlgri (code)
cma_fcntl (code)
cma_sendto (code)
pthread_keycreate
sqllo1 (code)

FIX:

When probuilding the ORACLE executables on HPUX against ORACLE 7.3.3 and 7.3.4, ORALIB environment variable must be set manually to include an additional library. This additional library is cma or /usr/lib/libcma.sl which is a subset of dce. The automatic script created by Progress does not include this library

You can't set ORALIB manually, as Progress only uses Oracle's shared library on HPUX. On this case you can workaround the problem including /usr/lib/libcma.sl (or -lcma) in the link script to generate the executable.

The last three lines of the link read:
-lcl \
-lcma \
$PROLOAD/4gl/libavcall.a \