Hi,
This might be slightly off topic and  but i am hoping someone here can
help.
I am trying to build a python wrapper for some C++ classes that access
oracle.
when i try loading the module i get the following errors

Python 2.4.2 (#1, Nov  9 2005, 09:37:25) [C] on hp-ux11
Type "help", "copyright", "credits" or "license" for more information.
>>> import DbConnectionParams
# DbConnectionParams.pyc matches DbConnectionParams.py
import DbConnectionParams # precompiled from DbConnectionParams.pyc
shl_load _DbConnectionParams.sl
/usr/lib/pa20_64/dld.sl: Unsatisfied data symbol 'kpggwcx_' in load
module '/oravl01/oracle/9.2.0.6/lib/libwtc9.sl'.
/usr/lib/pa20_64/dld.sl: Unsatisfied code symbol 'LhtStrSearch' in load
module '/oravl01/oracle/9.2.0.6/lib/libwtc9.sl'.
/usr/lib/pa20_64/dld.sl: Unsatisfied code symbol 'kpggGetPG' in load
module '/oravl01/oracle/9.2.0.6/lib/libwtc9.sl'.
/usr/lib/pa20_64/dld.sl: Unsatisfied code symbol 'LhtStrInsert' in load
module '/oravl01/oracle/9.2.0.6/lib/libwtc9.sl'.
/usr/lib/pa20_64/dld.sl: Unsatisfied code symbol 'kpuhhalo' in load
module '/oravl01/oracle/9.2.0.6/lib/libwtc9.sl'.
/usr/lib/pa20_64/dld.sl: Unsatisfied code symbol 'kpuhhfre' in load
module '/oravl01/oracle/9.2.0.6/lib/libwtc9.sl'.
/usr/lib/pa20_64/dld.sl: Unsatisfied code symbol 'LhtStrCreate' in load
module '/oravl01/oracle/9.2.0.6/lib/libwtc9.sl'.
/usr/lib/pa20_64/dld.sl: Unsatisfied code symbol 'kpugdr' in load
module '/oravl01/oracle/9.2.0.6/lib/libwtc9.sl'.

doing "ldd -r" on that module does not show any undefined symbols in
the oracle libraries.

Platform - HP-UX B.11.11
Command to create the shared lib for extension module (sdklib is the
proprietary lib i am trying to wrap )  -
/opt/aCC/bin/aCC +DD64 -b  -mt -AA -D__HPACC_THREAD_SAFE_RB_TREE
-DRWSTD_MUL\
TI_THREAD -DRW_MULTI_THREAD  -D_REENTRANT   -D_THREAD_SAFE  -Wl,+k
-Wl,+s -Wl,+n -Wl,-B,symbolic -o_DbConnectionParams.sl
DbConnectionParams_wrap.o  $(SDK_LIB_DIRS) -L$(ORACLE_HOME)/lib
-lsdklib /oravl01/oracle/9.2.0.6/precomp/lib/cobsqlintf.o
/oravl01/oracle/9.2.0.6/lib/libsql9.a -locci -lclntsh -lnsl
-L/usr/lib/pa20_64 -lstd_v2 -lCsup_v2


Any pointers will be appreciated,
Thanks,
Anuj.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to